note 72695 deleted from function.date by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 02:51:02 +0000 |
| Subject: | note 72695 deleted from function.date by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141994@lists.php.net to get a copy of this message | ||
Note Submitter: matt_wbdi at hotmail dot com
----
The below code doesn't work. The $next_month variable, for instance, right now, will be March,
even though today is January 30th. The reason is because one month from Jan. 30th is March. But
that's not the next month. I would suggest using an array of Month names instead, with their
respective number as the key.