Date problem?

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

 



echo date('F',strtotime("next month"));
 
This is printing February right now. Does this sound right or is this a but in strtotime()? is "next month" a valid parameter?
 
and yes, I am sure our server is set to December(todays date).
 
echo date('F',strtotime("last month"));
Does give me November as it should
 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/2004

-- 
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