note 51457 added to function.date
| From: | simon at ws-ws dot com | Date: | Thu, 31 Mar 2005 08:24:29 +0000 |
| Subject: | note 51457 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87237@lists.php.net to get a copy of this message | ||
how date's last month "bug"
it may be probably caused by "today" was Mar-30, and the date that his code generated 1
month ago is "Feb *30*".
and according to documented php behaviour, which is equal to Mar 2.
hope this help
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51457
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51457&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51457&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51457&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51457&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51457&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51457&report=yes
Search -- http://master.php.net/manage/user-notes.php