note 93259 rejected from function.mktime by danbrown
| From: | danbrown@php.net | Date: | Mon, 31 Aug 2009 07:22:10 +0000 |
| Subject: | note 93259 rejected from function.mktime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160076@lists.php.net to get a copy of this message | ||
Note Submitter: dolby at xpteam dot eu
----
I am just wondering is this a bug or expected behaviour:
echo date("r", mktime(0,0,0,9,31,2009));
It returns:
Thu, 01 Oct 2009 00:00:00 +0200
but I "expect" i to be:
Wed, 30 Sep 2009 00:00:00 +0200
Maybe I am missing the point, but I always supposed the mktime considers real dates.