strtotime() not working correctly?
Posted: Wed Jun 22, 2005 4:08 pm
PHP v5.0.2
When running the following code date always returns 04:00:00 for the time and not 4 hours past the current time?
When running the following code date always returns 04:00:00 for the time and not 4 hours past the current time?
Code: Select all
echo $date('m/d/Y h:i:s', strtotime('+4 hours', time()));