Re: date(F) +1

From: Date: Mon, 26 Jan 2004 08:12:00 +0000
Subject: Re: date(F) +1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-175730@lists.php.net to get a copy of this message
try <?= date("F", strtotime("+1 month")); ?> g. martin luethi Mon, 26 Jan 2004 03:08:30 -0500 John Taylor-Johnston <taylorjo@collegesherbrooke.qc.ca>:
Did I miss something at the FAQ? date("F"); gives me this month. Can I get it to give me next month? These combinations don't work: <?php echo date("F")+1; ?> <?php echo date("F"+1); ?> What is the minimum version for this to work? Or is this my problem? It echoes "1" in the html. http://www.php.net/manual/en/function.date.php John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#175730) next »