|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21050 strtotime & time zones
Submitted: 2002-12-16 11:32 UTC Modified: 2003-01-02 18:50 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: peter at mediapoland dot com Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 4.2.2 OS: Linux webdev 2.4.19
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: peter at mediapoland dot com
New email:
PHP Version: OS:


 [2002-12-16 11:32 UTC] peter at mediapoland dot com
Function 'strtotime' will produce 24 hour offset when prasing timezone item.

echo (strtotime(GMT, 0)); //-86400 on Linux, 0 on win2k.
echo (strtotime(CST, 0)); //-64800 on Linux, 21600 on win2k



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-16 13:06 UTC]
Please try using this CVS snapshot:
For Windows:
 [2003-01-02 18:50 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.

 [2003-04-11 03:40 UTC] jonco at iol dot ie
Using strtotime("last friday") produced a 24-hr offset on change form GMT to Summer Time, ie returned last thursday.

PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC