tomaszs tomaszs - 5 months ago 51
PHP Question

How to get time difference in minutes in PHP

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

Oli Oli

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