A
andreas.profous
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
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