Datetime.timedelta

Tsolmon Narantsogt mnts26 at gmail.com
Tue May 17 06:44:08 EDT 2011


Hi list

I'm using datetime.timedelta and i have a problem

delta = 1 day, 2:30:00
hours = delta.days * 8

how to add 8 + 2:30:00


Regards Tsolmon.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110517/c54fcd34/attachment.html>


More information about the Python-list mailing list