You are viewing a single comment's thread. Return to all comments →
date_format = "%a %d %b %Y %H:%M:%S %z"
d1 = datetime.strptime(t1, date_format) d2 = datetime.strptime(t2, date_format) x=abs(d1-d2) print(x) print (str(int((x.total_seconds()))))
why is the above giving me error?
why
Seems like cookies are disabled on this browser, please enable them to open this website
Time Delta
You are viewing a single comment's thread. Return to all comments →
date_format = "%a %d %b %Y %H:%M:%S %z"
why is the above giving me error?
why