php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70611 date() avoid day light saving
Submitted: 2015-09-30 21:07 UTC Modified: 2015-10-11 04:22 UTC
From: ofirattia at gmail dot com Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 5.6.13 OS: Windows 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
27 - 19 = ?
Subscribe to this entry?

 
 [2015-09-30 21:07 UTC] ofirattia at gmail dot com
Description:
------------
Time  - 23:57 ( time zone - Asia\Tel_Aviv )
the given output for date("H:i:s") -> 00:57

Note - 
the time zone on the server was UTC + 2:00 Jerusalem

Test script:
---------------
<?php

echo date("H:i:s");

?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-01 08:50 UTC] derick@php.net
-Status: Open +Status: Feedback
 [2015-10-01 08:50 UTC] derick@php.net
What does the following output:

<?php
echo time(), "\n";
echo date_default_timezone_get(), "\n";
echo date(DateTime::ISO8601);
?>
 [2015-10-11 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 19:01:29 2024 UTC