Hi all, I made a script that give me the hour:minutes of the beginning of the event and the hour:minutes of the end.
Now I need to calculate the time difference between those times.
Ie:
Begins at 6:53
Ends at 19:02
Duration: ??:?? #(must show 12:09)
In this case I change it to minutes and divided by 60 but since minutes 02 is < then 53, i got a negative number.
Any clue on how to perform the math without any additional package?
Now I need to calculate the time difference between those times.
Ie:
Begins at 6:53
Ends at 19:02
Duration: ??:?? #(must show 12:09)
In this case I change it to minutes and divided by 60 but since minutes 02 is < then 53, i got a negative number.
Any clue on how to perform the math without any additional package?