[Gambas-user] User-defined format characters for dates (AM/PM)
Zach Smith
zachsmith022 at ...626...
Sat May 1 17:20:04 CEST 2010
2010/4/30 Benoît Minisini <gambas at ...1...>:
>> Is there any way to use the format command to get "05:32 PM"?
>>
>> Format (Now, "hh:nn") gives me the 24 hour format: 17:32
>>
>
> Format(Now, "hh:nn AM/PM") will give you what you want, provided that your
> current language use AM/PM notation.
>
Thanks Benoît. I didn't see that in the documentation. Should it be
mentioned here: http://gambasdoc.org/help/lang/format - that was where
I looked first.
More information about the User
mailing list