Re: convert time string in UTC to time in local time

2007-03-10 Thread Paul Boddie
[EMAIL PROTECTED] wrote: > I'm guessing there is an easy way to do this but I keep going around > in circles in the documentation. > > I have a time stamp that looks like this (corresponding to UTC time): > > start_time = '2007-03-13T15:00:00Z' > > I want to convert it to my local time. > > start_t

convert time string in UTC to time in local time

2007-03-08 Thread davelist
I'm guessing there is an easy way to do this but I keep going around in circles in the documentation. I have a time stamp that looks like this (corresponding to UTC time): start_time = '2007-03-13T15:00:00Z' I want to convert it to my local time. start_time = time.mktime(time.strptime(start_t