The case makes no difference, because...

echo date('r', strtotime ("next Month"))."\n";
echo date('r', strtotime ("next month"))."\n";


gives...

Fri, 03 Mar 2006 12:52:54 +0000
Fri, 03 Mar 2006 12:52:54 +0000



BTW, Im using Debian, PHP 4.4.2 and my machines time zone is Europe/London

Few more tests I did:-


echo date('r', strtotime ("last month"))."\n";


works ok!

Sat, 31 Dec 2005 12:54:38 +0000


echo date('r', strtotime("next day"))."\n";


works ok

echo date('r', strtotime("next year"))."\n";

works ok



Very strange!

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

Reply via email to