|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-02-09 10:57 UTC] 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...
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 21:00:01 2025 UTC |
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!