How to compare two dates in php and echo newer one?
My dates are in the following format: date("F j, Y, g:i a"); which give us August 12, 2011, 9:45 am.
My dates are as follow:
- date 1
$created - date 2
$updated/ if no updated have been made value is0000-00-00 00:00:00
Any suggestion much appreciated.