Re: Time conversion between UTC and local time

2008-02-08 Thread Miki
Hello, > 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 i

Re: Time conversion between UTC and local time

2008-02-08 Thread Jeroen Ruigrok van der Werven
-On [20080208 15:16], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: >What is an elegant way of getting the local time (considering DST - >daylight saving time) with that data? Perhaps using pytz might be the easiest way: http://pytz.sourceforge.net/ -- Jeroen Ruigrok van der Werven / asmodai イェル

Time conversion between UTC and local time

2008-02-08 Thread 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