I\'m having a problem here..
Supposed I have this kind of datetime.
$date = strtotime($date);
I need this to be converted into t
You could do:
$testDateStr = strtotime($date); $finalDate = date("Y-m-d H:i:s", strtotime("-1 hour", $testDateStr));
Hope it helps