I am trying to pinpoint when the daylight saving time transition occurs in a Perl script using the Perl localtime function and printing the time zone using strftime .
The strange thing seems to work great this year and in other recent years, but if I try to get back to 2000, for example, Perl seems to think the transition is happening the same day!
According to Google, daylight saving time began on April 2, 2000:

... but for some reason, the Perl code below disagrees:
use POSIX qw(strftime); use Time::Local;
Output:
03/12/2000 01:59:59 - Eastern Standard Time 03/12/2000 03:00:00 - Eastern Daylight Time
Why does Perl think that daylight saving time in 2000 began on March 12, when this is clearly wrong?
EDIT:
After reading the comments below, it looks like a problem with the operating system, not Perl. It seems like this could be a bug in Windows 7.
windows-7 time dst perl windows-7-x64
tjwrona1992
source share