[BangPypers] date/time difference between two dates
Anand Chitipothu
anandology at gmail.com
Thu Feb 19 12:30:09 CET 2009
> Not just these functions, but almost the entire time/datetime
> functions mimic their C counterparts.
I always find datetime module very painful to deal with.
May be it is because it has borrowed too much from C instead of being pythonic.
Just give one example:
>>> import datetime
>>> t = datetime.datetime.utcnow().isoformat()
>>> t
'2009-02-19T11:26:28.750579'
Is there any easy way to convert this iso-formatted date string back
to datetime?
More information about the BangPypers
mailing list