ID: 35769 Updated by: [EMAIL PROTECTED] Reported By: php at 62nds dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: linux PHP Version: 4.4.2RC1 New Comment:
This depends lot on the OS behind. If you want reliable date handling you have to start using PHP 5.1 which has new date code. This is not critical bug in PHP 4 so it will never get fixed there. Previous Comments: ------------------------------------------------------------------------ [2005-12-22 08:45:49] php at 62nds dot com Example outputs "1969.12.31", mktime returns correct value ------------------------------------------------------------------------ [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