M
McBooCzech
Hi, on Linux (Fedora FC4) and Python 2.4.1
I am trying to know the time delta in seconds between two times given
in the HHMMSS format. My code looks like:
import datetime, time
ta1=(time.strptime('000001', '%H%M%S'))
ta2=(time.strptime('230344', '%H%M%S'))
t1=time.mktime(ta1)
t2=time.mktime(ta2)
print t1, t2
-2147483648.0 -2147483648.0
I just can not figure out, why the t1 and t2 are the same?
Thanks for your comments
Petr Jakes
I am trying to know the time delta in seconds between two times given
in the HHMMSS format. My code looks like:
import datetime, time
ta1=(time.strptime('000001', '%H%M%S'))
ta2=(time.strptime('230344', '%H%M%S'))
t1=time.mktime(ta1)
t2=time.mktime(ta2)
print t1, t2
-2147483648.0 -2147483648.0
I just can not figure out, why the t1 and t2 are the same?
Thanks for your comments
Petr Jakes