strtotime()

From: Date: Mon, 23 Aug 2010 20:04:21 +0000
Subject: strtotime()
Groups: php.general 
Request: Send a blank email to php-general+get-307629@lists.php.net to get a copy of this message
On my home machine running 5.3.2-2 in debian linux the commands: echo date('Y-m-d',strtotime('first day of this month')).'<br/>'; echo date('Y-m-d',strtotime('last day of next month')); give the expected results. I just got setup with a hosting provider running 5.2.13 on BSD and both give '1969-12-31'. What could be causing this? The second command is straight from the manual and the first is clearly implied. So far everything else seems to work as expected. -- "Economics is extremely useful as a form of employment for economists." -- John Kenneth Galbraith Rick Pasotto rick@niof.net http://www.niof.net

« previous php.general (#307629) next »