note 82446 deleted from function.mktime by nlopess
| From: | nlopess@php.net | Date: | Sat, 12 Apr 2008 10:27:52 +0000 |
| Subject: | note 82446 deleted from function.mktime by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138219@lists.php.net to get a copy of this message | ||
Note Submitter: zhenya dot t at livelynk dot com
----
mktime() seems to produce an incorrect result when you have months and dates prefixed with 0.
eg.
mktime(0, 0, 0, 04, 08, 2008);
will produce an incorrect result where as
mktime(0, 0, 0, 4, 8, 2008);
produces the correct result.