How do you get the difference between two datetimes?

#1

Answer:

A simple subtraction “datetime1 - datetime2” returns the difference as a double in milliseconds. Divide by 1000/60 to get time difference in minutes.

0 Likes