Consider this code: use POSIX qw(strftime); print strftime("%a, %d %b %Y %H:%M:%S %z", localtime 1160662136), "\n";
On *NIX, that code produces this output: Thu, 12 Oct 2006 09:08:56 -0500 On Windows, using ActivePerl, I get this output on several boxes: Thu, 12 Oct 2006 09:08:56 Central Daylight Time I want the _numeric_ TZ reference. I am NOT married to strftime. What am I missing? -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . --
signature.asc
Description: Digital signature
_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs