|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51473 DST did not change when Windows changed
Submitted: 2010-04-05 04:16 UTC Modified: 2010-04-05 04:40 UTC
From: phil at phillydog dot info Assigned:
Status: Not a bug Package: Performance problem
PHP Version: Irrelevant OS: WIN/2003 SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: phil at phillydog dot info
New email:
PHP Version: OS:


 [2010-04-05 04:16 UTC] phil at phillydog dot info
While I know this appears to be fixed in PHP 5.1.x, I don't want to upgrade for a trivial thing.  I am using PHP 5.0.5 on WIN/2003

Daylight savings did not change when my windows clock changed.

My workaround was rather than using EST5EDT, I switched to AST4ADT

1) Why didn't PHP time simply change with Windows?
2) Can I simply update a DLL to have PHP see the new daylight savings dates as it changed TODAY (Easter) rather than a few weeks back.

Test script:
My workaround was rather than using EST5EDT, I switched to AST4ADT until time actually changes.

Expected result:
I would assume that my PHP daylight savings would adhere to when windows switches to daylight savings.

Actual result:
Daylight savings changed TODAY (Easter) rather than a few weeks back, despite windows has said Eastern DAYLIGHT Time for a few weeks now.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-05 04:40 UTC]
-Status: Open +Status: Bogus
 [2010-04-05 04:40 UTC]
Use php 5.2 and later as they support reliabe timezone data via a bundled database. 5.1 is not supported anymore since years anyway, and there are dozen of very good reasons to update to 5.2.x (security being one of them).
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 00:01:33 2024 UTC