tomaszs tomaszs - 10 months ago 81
PHP Question

How to get time difference in minutes in PHP

How to calculate minute difference between two date-times in PHP?

Oli Oli
Answer Source

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