I'm trying to calculate the time difference between one hour from one day to the next day and get the result in minutes.
For example: from 10:00 am, 08/08/2020 to 09:59, am 08/09/2020 = 1439 minutes
var date_1 = str(status.dateTask.year) + "/" +str(status.dateTask.month) +"/" + str(status.dateTask.day) + " " + str(status.timerTask.hour)+":"+ str(status.timerTask.minute)+":"+str(status.timerTask.second)
var date_2 = str(dateCurrent.year) + "/" +str(dateCurrent.month) +"/" + str(dateCurrent.day) + " " + str(timerCurrent.hour)+":"+ str(timerCurrent.minute)+":"+str(timerCurrent.second)
var start = date_1
var end = date_2
var diff = int(start) - int(end)
I am using this but the values are not correct.