Bixby Sayz
2011-08-28 19:50:05
What time exactly is this returning?
I'm running XP with timezone set to Atlantic (which is on daylight savings atm) so UTC-3…and it is currently 8:45pm local time (11:45pm utc).
I would expect this code:
20:45:00 or 08:45:00 (local time)
23:45:00 or 11:45:00 (utc time)
Instead I get:
What am I missing here?
I'm running XP with timezone set to Atlantic (which is on daylight savings atm) so UTC-3…and it is currently 8:45pm local time (11:45pm utc).
I would expect this code:
writeln(MsToTime(GetSystemTime, TIME_BARE));to return one of the following:20:45:00 or 08:45:00 (local time)
23:45:00 or 11:45:00 (utc time)
Instead I get:
01:34:33
What am I missing here?