#45103 [NEW]: mktime shows wrong date at 2007-03-25

From: Date: Tue, 27 May 2008 07:39:48 +0000
Subject: #45103 [NEW]: mktime shows wrong date at 2007-03-25
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125291@lists.php.net to get a copy of this message
From: SimonSimCity at web dot de Operating system: Windows XP PHP version: 5.2CVS-2008-05-27 (snap) PHP Bug Type: Date/time related Bug description: mktime shows wrong date at 2007-03-25 Description: ------------ mktime shows the same time at 2007-03-25 02:00:00 and 2007-03-25 03:00:00 Reproduce code: --------------- echo mktime(2, 0, 0, 3, 25, 2007); echo "<br />"; echo mktime(3, 0, 0, 3, 25, 2007); Expected result: ---------------- 1174784400 1174788000 Actual result: -------------- 1174784400 1174784400 -- Edit bug report at http://bugs.php.net/?id=45103&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45103&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45103&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45103&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45103&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45103&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45103&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45103&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45103&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45103&r=support Expected behavior: http://bugs.php.net/fix.php?id=45103&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45103&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45103&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45103&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45103&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45103&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45103&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45103&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45103&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45103&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45103&r=mysqlcfg

« previous php.bugs (#125291) next »