From: [EMAIL PROTECTED] Operating system: RedHat Linux 7.3 PHP version: 4.2.2 PHP Bug Type: Unknown/Other Function Bug description: mktime() returns -1 for dates < 1970
glibc-2.2.5-34 and greater has been changed to return -1 for dates < 1970. This used to work. The problem exists with RedHat 7.3 and 8.0 echo (mktime(0, 0, 0, 1, 1, 1960)); // prints -1 -- Edit bug report at http://bugs.php.net/?id=20048&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20048&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20048&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20048&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20048&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20048&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20048&r=support Expected behavior: http://bugs.php.net/fix.php?id=20048&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20048&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20048&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20048&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20048&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20048&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20048&r=isapi