Bug #15466: fucntion date returns same date with to different timestamps with 86400 sec dif

From: Date: Sat, 09 Feb 2002 15:57:17 +0000
Subject: Bug #15466: fucntion date returns same date with to different timestamps with 86400 sec dif
Groups: php.dev 
Request: Send a blank email to php-dev+get-79822@lists.php.net to get a copy of this message
From: Webmaster@cdmw.de Operating system: Windows95 PHP version: 4.0.6 PHP Bug Type: Date/time related Bug description: fucntion date returns same date with to different timestamps with 86400 sec dif Hi all, look to this: print date("Y-m-d",1004220001)."<br>"; print date("Y-m-d",1004306401); Both will return "2001-10-28" but there are 86400 seconds (one day) difference. Hope i could help... -- Edit bug report at http://bugs.php.net/?id=15466&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15466&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15466&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15466&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15466&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15466&r=support Expected behavior: http://bugs.php.net/fix.php?id=15466&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15466&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15466&r=submittedtwice

« previous php.dev (#79822) next »