[Gambas-user] Should not we follow the ISO 8601 standard?
Benoît Minisini
gambas at ...1...
Mon Apr 11 15:49:33 CEST 2011
> Hi! I was read an article about ISO 8601, and think...¡Date of Gambas don't
> follow this!
>
> Print Now ----> 04/11/2011 06:12:18
>
> But the standard dictates otherwise: the format is YYYY-MM-DD.
>
> It's a problem, or is you are indifferent at this standard?
>
> Well, if you not known this standard, you can read this article in
> Wikipedia: http://en.wikipedia.org/wiki/ISO_8601
>
> Regards,
Print and Str() returns the date in the format defined by the current
localization.
CStr() returns the date in the US format.
If you want the ISO 8601 format, you have to play with the Format$() function.
Regards,
--
Benoît Minisini
More information about the User
mailing list