|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9007 strtotime cannot cope correctly with time zones
Submitted: 2001-01-30 14:15 UTC Modified: 2002-06-18 18:21 UTC
From: andre at promediasystems dot de Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.0.4pl1 OS: Linux 2.2.16
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 !
Your email address:
Solve the problem:
39 + 30 = ?
Subscribe to this entry?

 [2001-01-30 14:15 UTC] andre at promediasystems dot de
strtotime cannot evaluate timestamps like this:
"2001-1-29 14:35:12 +1:00"

Only string time zones are allowed like this:
"2001-1-29 14:35:12 CET"

Thats  bad because postgres delivers the former timestamps...



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-29 05:54 UTC]
dup of 9640
 [2002-06-18 18:21 UTC]
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Mar 24 17:04:43 2023 UTC