|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #39818 "any English textual datetime description" is ambigious
Submitted: 2006-12-13 15:19 UTC Modified: 2007-08-17 11:22 UTC
From: ian at ithomas dot name Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: ian at ithomas dot name
New email:
PHP Version: OS:


 [2006-12-13 15:19 UTC] ian at ithomas dot name
The one line summary of strtotime is "Parse about any English textual datetime description into a Unix timestamp".

This should be clarified to "Parse about any US English textual datetime description into a Unix timestamp" (addition of US).

If you're American and reading this, please don't think it is not important just because it works fine for you. Imagine if it worked the other way round, and strtotime('2/4/2006') output 2nd April, and your IDE was telling you that this function parsed English dates (meaning dates used in England)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-17 11:22 UTC]
Summary is simplified, function description is correct.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 26 22:03:33 2021 UTC