Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code

by Corion (Patriarch)
on Mar 06, 2007 at 14:15 UTC ( [id://603420]=note: print w/replies, xml ) Need Help??


in reply to Impact of U.S. Daylight Savings Time changes in 2007 on Perl distribution/code

Jan Dubois posted the results of his dive into Win32 localtime behaviour on p5p:

What I learned about Windows and Daylight Saving Time today

Basically, if $ENV{TZ} is set, MSVCRT.dll does the calculations itself and the latest version of MSVCRT as of today hasn't been updated to account for the new USA DST rules. There seems to be a hotfix for that.

If $ENV{TZ} is not set, the current rules will apply but also be applied to the past.

If $ENV{TZ} is not set, and you're running Vista/LongHorn, the current rules will apply and not be applied to the past, as Vista and upwards support a database of historical changes.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://603420]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found