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

Reply via email to