Re: Time to epoch

2001-12-28 Thread $Bill Luebkert
Carl Jolley wrote: > > Actually I believe that the correct function to use is timegm if one > really wants an epoch-relative time. The epoch began at midnight, GMT > on Jan 1, 1970. If you use timelocal like: > > use Time::Local; > my $MyTime= timelocal(0,0,0,1,0,70); # midnight Jan 1, 1970 >

RE: Time to epoch

2001-12-28 Thread Carl Jolley
ssage- > From: Mauricio Lairet P. [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 27, 2001 19:08 > To: [EMAIL PROTECTED] > Subject: Time to epoch > > > Hi! > > I have a list of dates and times formatted as > > 2000/10/19 13:05:17 > > $year/$month/$day $hou