Bug #64587 [Nab]: Bug in a determinated second...
| From: | costanzo_pablo at hotmail dot com | Date: | Fri, 05 Apr 2013 15:13:32 +0000 |
| Subject: | Bug #64587 [Nab]: Bug in a determinated second... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-178309@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64587&edit=1
ID: 64587
User updated by: costanzo_pablo at hotmail dot com
Reported by: costanzo_pablo at hotmail dot com
Summary: Bug in a determinated second...
Status: Not a bug
Type: Bug
Package: Date/time related
Operating System: All
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
But it would have to happen ...
I'm using date.timezone = America / Buenos_Aires;
Previous Comments:
------------------------------------------------------------------------
[2013-04-05 05:57:09] rasmus@php.net
Well, regardless of the timezone. You have obviously discovered DST in whatever
timezone you are in. This is not a bug.
------------------------------------------------------------------------
[2013-04-05 05:13:50] rasmus@php.net
Which timezone?
------------------------------------------------------------------------
[2013-04-05 05:10:21] costanzo_pablo at hotmail dot com
Description:
------------
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:
---------------
<?php
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
1363485"599"<1363485"600"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64587&edit=1