Python Forum

Full Version: How to calculate time in seconds
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I have time as below:


t1: 2020-02-13T11:16:30-05:00
t2: 2020-03-13T11:01:56-31:00
t3: 2020-03-13T11:02:42-00:00
I want to calculate time difference between t1-t2, t2-t3 in seconds.