Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's wrong in this picture?
Message
From
13/01/2008 14:07:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/01/2008 12:43:58
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01281294
Message ID:
01281480
Views:
7
>Well, when I said subtract for anything > 12, I only meant the hour (I *did* say that, you must have missed it). So it doesn't matter if it's 12:01 or 12:59, you're still not going to subtract 12 from it. But, you do have to switch the logic that anything >= 12 gets the "PM" designation.
>
>Noon and midnite confuse people all the time ... which is AM and which is PM? The trick is to not think about the latin meaning and just memorize that 12pm is noon and 12am is midnite. <g>
>
>Midnite throws off my simplistic logic too ... guess I missed that. In 24-hr time, midnite is *NOT* 2400, but 0000. So, you'd have to have some additional logic for converting the 00 hour to a 12. Still, not too much extra coding. <g>
>
>OK, you win ... it *is* not trivial (but not that hard). <g>

I didn't say it was hard to do, it's just hard if you try to understand ;). Just when you thought you got everything, there's one more.

And midnight may be 24:00 or 00:00 (I keep insisting on the civilian colon, not the military *hundred), depending :). In the parlance of European railway schedules, a train arrives at 24:00 while another departs at the same moment, at 0:00. IOW, end-of-day is 24:00, start-of-day is 0:00.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform