ID: 27866 Updated by: [EMAIL PROTECTED] Reported By: andrew at mansionproductions dot com -Status: Bogus +Status: Feedback Bug Type: Date/time related Operating System: FreeBSD 4.8 PHP Version: 4.3.5 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-04-05 06:46:36] [EMAIL PROTECTED] $ uname -mrs FreeBSD 4.8-RELEASE alpha $ php -r 'var_dump(mktime(0,0,0,4,4,2004));' int(1081029600) Make sure you have set up your locales and timezones correctly. ------------------------------------------------------------------------ [2004-04-05 06:35:58] andrew at mansionproductions dot com Description: ------------ mktime(0,0,0,4,4,2004) returns -7262 Reproduce code: --------------- <?php $time = mktime(0,0,0,4,4,2004) ?> Expected result: ---------------- $test should be 1081026000 Actual result: -------------- $time is -7262 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27866&edit=1