edpatterson
IS-IT--Management
- Feb 24, 2005
- 186
Short version
I need to be able to get the current UTC offset from Windows XP machines.
Long version
I am parsing Unix log files which of course use the Unix Epoch and UTC.
1241639502.989 - ( 60 * 60 * 5) = 5/6/2009 2:51:42 PM via dateadd() unless of course it is daylight savings time, then it is an hour later. I added a checkbox for daylight savings but that is rather lame. I would like to be able to retrieve the UTC offset (-5 in my case) and rather daylight savings is honoured.
Ideas?
Ed
I need to be able to get the current UTC offset from Windows XP machines.
Long version
I am parsing Unix log files which of course use the Unix Epoch and UTC.
1241639502.989 - ( 60 * 60 * 5) = 5/6/2009 2:51:42 PM via dateadd() unless of course it is daylight savings time, then it is an hour later. I added a checkbox for daylight savings but that is rather lame. I would like to be able to retrieve the UTC offset (-5 in my case) and rather daylight savings is honoured.
Ideas?
Ed