Re: Date problem?

From: Date: Thu, 23 Dec 2004 00:02:48 +0000
Subject: Re: Date problem?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-205028@lists.php.net to get a copy of this message
Hi, I did use the +1 month, but I was just curious as to what was up.
Try this instead... echo date('F',strtotime("+1 month")); read through the user comments at... http://us2.php.net/manual/en/function.strtotime.php there are some things pertaining to your situtation -Chris On Wed, 22 Dec 2004 15:38:38 -0800, PHP <php_list@ibcnetwork.net> wrote:
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
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 12/22/2004
-- 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

« previous php.general (#205028) next »