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 important, just the local time. > The format is not important, the easiest would probably be a tuple > (h,m,s) .
http://labix.org/python-dateutil HTH, -- Miki <[EMAIL PROTECTED]> http://pythonwise.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list