[Gambas-user] AM/PM - Noon to 1PM Problem

A Person kztyrvlq at ...966...
Wed Oct 19 04:50:11 CEST 2005


Good Day All . . .

After considerable effort I now have AM/PM working in 1.0.11. Sort of!

Any time between noon and 1PM does not return properly.

The following are examples.

Format(Time(11, 0, 0), "h:nn AM/PM") = 11:00 AM

Format(Time(12, 0, 0), "h:nn AM/PM") = 0:00 PM
Format(Time(12, 30, 0), "h:nn AM/PM") = 0:30 PM
Format(Time(12, 0, 0), "hh:nn AM/PM") = 00:00 PM
Format(Time(12, 30, 0), "h:nn AM/PM") = 00:30 PM

Format(Time(13, 0, 0), "h:nn AM/PM") = 1:00 PM

What am I doing wrong this time?

Are these types of difficulties present in the Gambas2 versions? Is it
time for me to become upwardly mobile?

I really appreciate your help on this.

Paul




More information about the User mailing list