Having trouble understanding the difference between two time stamps in ISO 8061:
I have two strings:
alert_time
'2019-08-21T22:05:59.605Z'
current_time
'2019-08-21T22:06:58'
i change the alert_time variable to match the formatting of current_time
alert_time = alert_time[:-5]
alert_time
'2019-08-21T22:05:59'
Now i want to see the difference between them
datetimeFormat = '%Y-%m-%dT%H:%M:%S'
diff = datetime.datetime.strptime(alert_time, datetimeFormat) - datetime.datetime.strptime(current_time, datetimeFormat)
diff
datetime.timedelta(-1, 86341)
what does that output mean? I'm looking for something to tell me the difference in seconds