strtotime() bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Suddenly my strtotime() are goofy, anyone have any ideas?

echo date('Y/m/d/H', time()). "<br>";    			//2005/04/04/18
echo date('Y/m/d/H', strtotime("-1 day")). "<br>";    		//2005/04/03/18
echo date('Y/m/d/H', strtotime("last Sunday")). "<br>";		//2005/04/02/23

Sunday shows as Saturday.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux