UTC datetime.fromtimestamp

Gerhard Häring gh at ghaering.de
Tue Jun 3 17:10:39 CEST 2008


Alok Kumar wrote:
> Dear All,
> 
> I have UTC  datetime as 
> datetime.fromtimestamp(ParseDateTimeUTC("2007-12-06 20:37:05"))

Just datetime.timedelta(days=1).

-- Gerhard




More information about the Python-list mailing list