ID: 39912 Updated by: [EMAIL PROTECTED] Reported By: pkus at epf dot pl -Status: Assigned +Status: Bogus Bug Type: Date/time related Operating System: windows xp PHP Version: 5.2.0 Assigned To: derick New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Please read the description of "ISO Week date" at http://en.wikipedia.org/wiki/ISO_week_date Previous Comments: ------------------------------------------------------------------------ [2006-12-20 20:33:01] pkus at epf dot pl Description: ------------ bug was reported earlier and closed Bug #33957 gmdate('W')/date('W') sometimes returns wrong week number. Reproduce code: --------------- print_r(date('W', mktime(0,0,0,12,31,2007))); //returns 01 but should return 53 Expected result: ---------------- //returns 01 but should return 53 Actual result: -------------- 01 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39912&edit=1