[Gambas-user] Date var and message output

Werner wdahn at ...1000...
Fri Apr 16 13:54:01 CEST 2010


On 16/04/10 19:38, Demosthenes Koptsis wrote:
> Hi i want to ask why there is a difference when i print a date var and when
> i Message the var
> example code
>
> dNow = Time(Now)
> PRINT dNow           'output 14:37:10
> Message(dNow)      'output 14:37:10.658
>
> what is the 658 at the end if Messagebox output?
>
>   
The .658 is the milliseconds.
Presumably Print and Message use a Format$ slightly differently.
See http://gambasdoc.org/help/lang/format

Regards
Werner





More information about the User mailing list