ID: 32804 User updated by: ygomez at hotmail dot com Reported By: ygomez at hotmail dot com Status: Bogus Bug Type: *General Issues Operating System: Win (xp, 2k) PHP Version: 4.3.10 New Comment:
thank you for the help!. Previous Comments: ------------------------------------------------------------------------ [2005-04-23 18:34:33] [EMAIL PROTECTED] We are happy to tell you that you just discovered Daylight Savings Time. For more information see: http://webexhibits.org/daylightsaving/b.html Instead of using mktime/date consider using gmmktime and gmdate which do not suffer from DST. ------------------------------------------------------------------------ [2005-04-23 18:28:25] ygomez at hotmail dot com Description: ------------ This error only came about in April 2005 at 2:00. I got 1 hr missing on timestamp result and affect the following timestamp's results. I hope can help me. Reproduce code: --------------- <? echo strtotime ("20050403"); echo strtotime ("20050403 1:00:00"); echo strtotime ("20050403 2:00:00"); echo strtotime ("20050404"); ?> Expected result: ---------------- 1112508000 1112511600 1112515200 1112594400 Actual result: -------------- 1112508000 1112511600 1112511600 1112590800 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32804&edit=1
