try

<?= date("F", strtotime("+1 month")); ?>

g. martin luethi

Mon, 26 Jan 2004 03:08:30 -0500 John Taylor-Johnston
<[EMAIL PROTECTED]>:

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

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



Reply via email to