Bug #5092: mktime function maps year 00 to 1969
| From: | ezran at goshen dot edu | Date: | Fri, 16 Jun 2000 19:48:31 +0000 |
| Subject: | Bug #5092: mktime function maps year 00 to 1969 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21559@lists.php.net to get a copy of this message | ||
From: ezran@goshen.edu
Operating system: linux 2.2.14
PHP version: 3.0.14
PHP Bug Type: Misbehaving function
Bug description: mktime function maps year 00 to 1969
mktime function maps any date with two digit year 00 to Dec 31st of 1969.
ex :
echo date("d-m-Y", mktime(0,0,0,12,23,00));
returns: 31-12-1969.