Time conversion between UTC and local time
andreas.profous at googlemail.com
andreas.profous at googlemail.com
Fri Feb 8 09:10:14 EST 2008
Hi all,
I have the following problem:
There are strings describing a UTC time, e.g. " 2008-01-15 22:32:30"
and a string reflecting the time
zone e.g. "-05:00".
What is an elegant way of getting the local time (considering DST -
daylight saving time) with that data?
The date is not important, just the local time.
The format is not important, the easiest would probably be a tuple
(h,m,s) .
Thanks in advance
More information about the Python-list
mailing list