|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64587 Bug in a determinated second...
Submitted: 2013-04-05 05:10 UTC Modified: 2013-04-05 15:13 UTC
From: costanzo_pablo at hotmail dot com Assigned:
Status: Not a bug Package: Date/time related
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: costanzo_pablo at hotmail dot com
New email:
PHP Version: OS:


 [2013-04-05 05:10 UTC] costanzo_pablo at hotmail dot com
Date timestamp 1363485599 is little than 1363485600

But... when run date function... 1363485600 is greater than 1363485599

1363485599 = 16/03/2013 23:59:59
1363485600 = 16/03/2013 23:00:00

Test script:
echo date("d/m/Y H:i:s", 1363485599).'<br>'.date("d/m/Y H:i:s", 1363485600);

And when execute it...

16/03/2013 23:59:59
16/03/2013 23:00:00



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-05 05:13 UTC]
Which timezone?
 [2013-04-05 05:57 UTC]
-Status: Open +Status: Not a bug
 [2013-04-05 05:57 UTC]
Well, regardless of the timezone. You have obviously discovered DST in whatever 
timezone you are in. This is not a bug.
 [2013-04-05 15:13 UTC] costanzo_pablo at hotmail dot com
But it would have to happen ...

I'm using date.timezone = America / Buenos_Aires;
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 16 16:01:27 2024 UTC