tomaszs tomaszs - 1 year ago 107
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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download