Re: Converting Date to UTC format

2002-05-25 Thread Peter Scott
At 12:37 PM 5/25/02 +0200, Ankit Gupta wrote: > I am trying to convert date from Emails into UTC format (number of seconds >elapsed since 1.1.1970). Nitpick: that is Unix time, not UTC. See here for a definition of UTC: http://www.ghcc.msfc.nasa.gov/utc.html. -- Peter Scott Pacific Systems D

Re: Converting Date to UTC format

2002-05-25 Thread John W. Krahn
Ankit Gupta wrote: > > Hello, Hello, > I am trying to convert date from Emails into UTC format (number of seconds > elapsed since 1.1.1970). I am using this method: > > my $GMtime = strftime("%Y%m%d%H%M%S", gmtime($ab1)); > > where ab1 is the date and time derived from email like Mon, 08 Oct

Converting Date to UTC format

2002-05-25 Thread Ankit Gupta
Hello, I am trying to convert date from Emails into UTC format (number of seconds elapsed since 1.1.1970). I am using this method: my $GMtime = strftime("%Y%m%d%H%M%S", gmtime($ab1)); where ab1 is the date and time derived from email like Mon, 08 Oct 2001 13:33:50 +0200 Could some one suggest