Bug #15620: problem with 2002-03-31

From: Date: Tue, 19 Feb 2002 11:58:51 +0000
Subject: Bug #15620: problem with 2002-03-31
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-568@lists.php.net to get a copy of this message
From: martinradu@hotmail.com Operating system: windows me PHP version: 4.1.1 PHP Bug Type: Date/time related Bug description: problem with 2002-03-31 <? $srez= date ("d-m-Y", mktime (0,0,0,3,1+29,2002)); echo "<br>".$srez; $srez= date ("d-m-Y", mktime (0,0,0,3,1+30,2002)); echo "<br>".$srez; echo phpinfo(); ?> The result is 30-03-2002 30-03-2002 and should be 30-03-2002 31-03-2002 Please tell us how can we solve this problem -- Edit bug report at http://bugs.php.net/?id=15620&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15620&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15620&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15620&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15620&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15620&r=support Expected behavior: http://bugs.php.net/fix.php?id=15620&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15620&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15620&r=submittedtwice

« previous php.bugs (#568) next »