ID: 15466
Comment by: dongiobenve at tin dot it
Reported By: Webmaster at cdmw dot de
Status: Bogus
Bug Type: Date/time related
Operating System: Windows95
PHP Version: 4.0.6
New Comment:
Ok, but:
echo date("Y-m-d g:i:s I", 1067205600)."<p>";
echo date("Y-m-d g:i:s I", 1067205600 + 86400)."<p>";
return this output:
2001-10-28 12:00:01
2001-10-28 11:00:01
It's wrong!
Previous Comments:
------------------------------------------------------------------------
[2002-02-09 10:59:51] [EMAIL PROTECTED]
October 28th has 25 hours.
Derick
------------------------------------------------------------------------
[2002-02-09 10:57:17] Webmaster at cdmw dot de
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 this bug report at http://bugs.php.net/?id=15466&edit=1