|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 00:03:38 2021 UTC