[Gambas-user] User-defined format characters for dates (AM/PM)
Benoît Minisini
gambas at ...1...
Sun May 2 16:21:48 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.
>
Indeed. It should be fixed now.
--
Benoît Minisini
More information about the User
mailing list