Jump to content

Finding Time difference from 2 timestamps pulled from MySQL DB


Wildhalf

Recommended Posts

It depends on the format they are being pulled out of the database, either way you should be able to use strtotime along with the function found at the below webpage to calculate it:

 

Google Results for php time difference

 

Noteable sites:

http://www.charles-reace.com/PHP_and_MySQL/Time_Difference/

http://www.gidnetwork.com/b-16.html

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.