From: [EMAIL PROTECTED] Operating system: FreeBSD 4.5-RELEASE #3 PHP version: 4.2.2 PHP Bug Type: Date/time related Bug description: Problems with mktime returns -1 value on some specific dates
echo mktime(0,0,0,10,33,2002); // returns 1036206000 echo mktime(0,0,0,10,34,2002); // returns -1 echo mktime(0,0,0,10,35,2002); // returns 1036375200 bug or what????? the correct return for echo mktime(0,0,0,10,34,2002); is 1036290600 and not -1 ! -- Edit bug report at http://bugs.php.net/?id=20191&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20191&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20191&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20191&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20191&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20191&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20191&r=support Expected behavior: http://bugs.php.net/fix.php?id=20191&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20191&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20191&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20191&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20191&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20191&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20191&r=isapi