|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21530 date("T") on returns "Standard Time" instead of "Daylight Time"
Submitted: 2003-01-08 15:55 UTC Modified: 2003-01-27 22:37 UTC
From: khoker at rjobrien dot com Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 4.2.3 OS: Win32
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:
Solve the problem:
45 - 22 = ?
Subscribe to this entry?

 [2003-01-08 15:55 UTC] khoker at rjobrien dot com
echo "<? print date("T"); ?>" | php.exe
Always outputs the "Standard" identifier, regardless of the fact that the Window's clock returns "Daylight/Standard" correctly.
date("I") correctly returns the correct 1/0 value for ST vs DT.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 16:56 UTC] khoker at rjobrien dot com
 [2003-01-10 16:51 UTC]
Please try using this CVS snapshot:
For Windows:

Seems to work fine in 4.3.0
 [2003-01-27 22:37 UTC]
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 "Open". Thank you.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 16:01:23 2021 UTC