ID: 15466 Updated by: [EMAIL PROTECTED] Reported By: Webmaster at cdmw dot de Status: Bogus Bug Type: Date/time related Operating System: Windows95 PHP Version: 4.0.6 New Comment:
1067205600 is nowhere near 2001, I don't see any 1/0 for the daylight savings flag, nor do your <p> tags show in your "output". When reporting a bug, please be kind enough to provide the ACTUAL output of your reproducing code and not something you decided to make up. As to your original report, knowing what time zone you are in would also be extremely helpful. Previous Comments: ------------------------------------------------------------------------ [2003-07-01 14:56:09] dongiobenve at tin dot it 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! ------------------------------------------------------------------------ [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