I need to find the difference between two timestamps in minutes. I am using Python 3.6.
Here is my script:
import datetime
from dateutil import parser
indate = str(datetime.datetime.utcnow())
indate2 = parser.parse(indate)
indate3 = indate2.date()
intime = indate2.time()
outdate1 = "2019-10-16T06:38:55.000+0000"
outdate2 = parser.parse(outdate1)
outdate3 = outdate2.date()
outtime = outdate2.time()
### ---THEN PRINT DIFFERENCE BETWEEN THE TWO IN MINUTES --- ###