[Gambas-user] Re: Re: AM/PM (John)
gambas at ...1...
Wed Oct 19 00:23:05 CEST 2005
On Tuesday 18 October 2005 19:04, A Person wrote:
> Good Day John & All . . .
> John, Thanks for the reply. Unfortunately it did not work.
> I modified my code as per your instructions.
> 2:15: was returned.
> I pasted your code into a new project.
> 2:17: and 1:24: were returned. It appears that my 1.0.11 Gambas does not
> in anyway acknowledge AM/PM.
> I don't mind using 24 hour time but my wife doesn't understand it.
> I need help.
The am/pm words are printed only if your current localization supports it.
Try this for example:
System.Language = "C"
PRINT Format$(CDate("15:30"), "hh:nn AM/PM")
More information about the User