[Tutor] Processing unix style timestamp

Ravi Kondamuru ravikondamuru at gmail.com
Fri Mar 7 00:55:52 CET 2008


Hi,

I have a log file that prints the date and time in the following format:
Mon Feb 11 01:34:52 CST 2008
I am expecting multiple timezone entries (eg: PST, PDT and GMT) on the
system running in America/Los Angeles time zone.
I am looking for a way to internally store all the different timezone
entries in GMT.
I looked at datetime, but it seems slightly complex to work with non GMT
timestamps.

Any pointers?

thanks,
Ravi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080306/74f3da06/attachment.htm 


More information about the Tutor mailing list