note 68954 deleted from function.strtotime by bobby
| From: | bobby@php.net | Date: | Mon, 18 Sep 2006 14:30:57 +0000 |
| Subject: | note 68954 deleted from function.strtotime by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117289@lists.php.net to get a copy of this message | ||
Note Submitter: phlipping at yahoo dot com
----
Re: horvathi
"-1 month" works correctly, and your example is correct... -1 month from 31 July would be
31 June - but June has 30 days, so 31 June is 1 July.
It's certainly not just "-30 days" - "-1 month" from, say, 10 Feb correctly
gives 10 Jan.