#35769 [Opn]: error handing dates prior to 1970
| From: | php at 62nds dot com | Date: | Thu, 22 Dec 2005 07:45:50 +0000 |
| Subject: | #35769 [Opn]: error handing dates prior to 1970 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90858@lists.php.net to get a copy of this message | ||
ID: 35769
User updated by: php at 62nds dot com
Reported By: php at 62nds dot com
Status: Open
Bug Type: Date/time related
Operating System: linux
PHP Version: 4.4.2RC1
New Comment:
Example outputs "1969.12.31", mktime returns correct value
Previous Comments:
------------------------------------------------------------------------
[2005-12-22 08:42:22] php at 62nds dot com
Description:
------------
Wrong month and day returned by gmdate; year is correct most of the
time.
Reproduce code:
---------------
$membday = mktime(0, 0, 0, 6, 15, 1966);
echo gmdate('Y.m.d', $membday);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35769&edit=1