timelocal question

timelocal question

am 08.10.2010 17:24:43 von Deane.Rothenmaier

This is a multipart message in MIME format.
--===============1067916803==
Content-Type: multipart/alternative;
boundary="=_alternative 0054A952862577B6_="

This is a multipart message in MIME format.
--=_alternative 0054A952862577B6_=
Content-Type: text/plain; charset="US-ASCII"

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...

Thanks,

Deane Rothenmaier
Programmer/Analyst -- IT-StdCfg
Walgreens Corp.
2 Overlook Point #N5102D
MS 6515
Lincolnshire, IL 60069
224-542-5150

People using flintlock pistols shouldn't fire warning shots. -- Andrew
Borntreger
--=_alternative 0054A952862577B6_=
Content-Type: text/html; charset="US-ASCII"



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...




Thanks,



Deane Rothenmaier

Programmer/Analyst -- IT-StdCfg

Walgreens Corp.

2 Overlook Point #N5102D

MS 6515

Lincolnshire, IL 60069

224-542-5150



People using flintlock pistols shouldn't fire warning shots. -- Andrew
Borntreger

--=_alternative 0054A952862577B6_=--


--===============1067916803==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1067916803==--

RE: timelocal question

am 08.10.2010 17:41:24 von Brian Raven

From: activeperl-bounces@listserv.ActiveState.com
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of
Deane.Rothenmaier@walgreens.com
Sent: 08 October 2010 16:25
To: activeperl@listserv.ActiveState.com
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
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs