On Thu, 26 Jan 2012, Barry Brevik wrote: > > In list context it returns the DST state as the last value so > > (localtime())[-1] would give that value. > > OK, that is just lame of me to miss that. Thank you so much.
Not sure if this matters to you, but at least older versions of Windows (before Vista) did not store historical DST information (the "Olson" database). Instead it would apply the latest set of DST rules to all previous years as well, so the DST state for dates in the past may be incorrect. But even though historical data is now available in the OS, I would still double check if the C runtime library used by Perl makes use of it or not. Cheers, -Jan _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs