Bug #64587 [Opn]: Bug in a determinated second...
| From: | rasmus@php.net | Date: | Fri, 05 Apr 2013 05:13:50 +0000 |
| Subject: | Bug #64587 [Opn]: Bug in a determinated second... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-178306@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
Updated by: rasmus@php.net
Reported by: costanzo_pablo at hotmail dot com
Summary: Bug in a determinated second...
Status: Open
Type: Bug
Package: Date/time related
Operating System: All
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Which timezone?
Previous Comments:
------------------------------------------------------------------------
[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