I have a date being returned from a mysql database like so
I'm trying to check to see how many hours and minutes the current time has progressed since the datetime stamp was updated.
So something like:
This always returns zero, any help much appreciated.
2009-12-29 13:59:23
So something like:
Code:
print date("Y-m-d G:H:s") - '2009-12-29 13:59:23';
Comment