I just came across this problem while playing with the System.GetDateTime function. If you get the Time with AM/PM format, 12:00PM - 12:59PM displays as AM. Also, 12:00AM - 12:59AM displays as 0:mmAM. Bug or am I not doing something right? I'm using v4.0.0.4 on Windows XP.
Announcement
Collapse
No announcement yet.
System Get Date Time bug?
Collapse
X
-
Re: System Get Date Time bug?
I think that should be 12:00pm - 11:59pm [img]/ubbthreads/images/icons/smile.gif[/img]
Current time here is 21:03 and it seems to work fine displaying as 9:03:23PM
Have you anything else going on that may be effecting it?
Here is what I used:
%Date% = System.GetDateTime ( "Time", "AM/PM Time")
%Result% = Dialog.MessageBox ("Title", "%Date%", Ok, Question)-
= Derek
["All glory comes from daring to begin" - fortune cookie]
-
Re: System Get Date Time bug?
Yup. This bug has already been confirmed and added to the appropriate bugfix database. You can get around this by retrieving the military time and then using a series of if/then and search/replace actions to convert the result to standard time. I did this at first, but then decided to just stick with military time. The "old school" programmer in me just couldn't stand having the "extra" code in my project.
Craig
Comment
Comment