note 63781 deleted from function.mktime by bjori
| From: | bjori@php.net | Date: | Thu, 30 Mar 2006 16:13:43 +0000 |
| Subject: | note 63781 deleted from function.mktime by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-107039@lists.php.net to get a copy of this message | ||
Note Submitter: Mike
Reason: integrated
----
In response to Bill:
> B: date("Y-m-d H:i:s", mktime(5, 47, 23, 2, 30, 2006)) returns 2006-03-02 05:47:23 =
> incorrect!
The above behaviour is correct. Read the manual again. February (month=2) has 28 days, hence 30th
day of 2nd month is converted to 2nd day of 3rd month.