Edit report at https://bugs.php.net/bug.php?id=64587&edit=1

 ID:                 64587
 Updated by:         ras...@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

Reply via email to