note 17590 deleted from function.date by vincent
| From: | vincent@php.net | Date: | Fri, 12 Sep 2003 07:03:12 +0000 |
| Subject: | note 17590 deleted from function.date by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56341@lists.php.net to get a copy of this message | ||
Note Submitter: rogerio@intercode.com.br
----
Be carefull when adding or substracting months in date:
$lastmonth = mktime (0,0,0,date("m")-1,date("d"),date("Y"));
If the day is the 30th or 31st it will not work.