How to calculate minute difference between two date-times in PHP?
Subtract the past most one from the future most one and divide by 60.
Times are done in Unix format so they're just a big number showing the number of seconds from January 1, 1970, 00:00:00 GMT
January 1, 1970, 00:00:00 GMT