ID: 17442 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Analyzed +Status: Bogus Bug Type: *Calendar problems Operating System: Win 9x PHP Version: 4.2.0 New Comment:
Most likely related to Daylight savings and some bug in Windows. I could not reproduce this on Linux/FreeBSD. You might have better luck with gmmktime() or a time like noon. Feel free to reopen if you think this is a PHP issue instead. Derick Previous Comments: ------------------------------------------------------------------------ [2002-05-26 17:02:17] [EMAIL PROTECTED] Works just fine on Linux. Probably a Win9x problem. ------------------------------------------------------------------------ [2002-05-26 16:53:33] [EMAIL PROTECTED] $bug1 = date("D",mktime (0,0,0,3,27,2032)); echo($bug1."<br>"); $bug2 = date("D",mktime (0,0,0,3,28,2032)); echo($bug2."<br>"); if ($bug1==$bug2) {echo("BUG!");} i think it's enough. :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17442&edit=1