RE: timelocal question

"Brian Raven" <[email protected]>
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: 08 October 2010 16:25
To: [email protected]
Subject: timelocal question

> Just for my information...  the POD for Time::Local::localtime
specifies the "epoch" for UNIX as Midnight, Jan.1, 1970 GMT.  What's the
epoch for 
> Windoze? Is it the same? I can't seem to find this little gem
anywhere... 

You could always ask perl...

perl -MPOSIX=strftime -e "print strftime(qq{%Y-%m-%d %H:%M:%S\n},
localtime(0))"

HTH

-- 
Brian Raven 
 
Please consider the environment before printing this e-mail.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy.

Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.