ID: 28733 Updated by: [EMAIL PROTECTED] Reported By: marcos at paladin-its dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Free BSD PHP Version: 4.3.5 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is not a bug in PHP, but in FreeBSD's mktime routines. But as you also did not specify your timezone, I can't even explain it. Previous Comments: ------------------------------------------------------------------------ [2004-06-10 20:39:53] marcos at paladin-its dot com Description: ------------ when passing the integers necessary to make a date of 4/1/2007, mktime returns an error value of 12/31/1969. Reproduce code: --------------- echo date("M-d-Y", mktime(0, 0, 0, 4, 1, 2007)) . "<br>"; Expected result: ---------------- Apr-01-2007 Actual result: -------------- Dec-31-1969 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28733&edit=1
