|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #70209 date_parse does not parse all formats strtotime does
Submitted: 2015-08-07 19:49 UTC Modified: 2015-08-07 21:03 UTC
From: me at jdavidbaker dot com Assigned: cmb (profile)
Status: Closed Package: Date/time related
PHP Version: 5.5.28 OS:
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: me at jdavidbaker dot com
New email:
PHP Version: OS:


 [2015-08-07 19:49 UTC] me at jdavidbaker dot com
From manual page:
Date in format accepted by strtotime().
date_parse does not parse several strings strtotime() does, i.e. 'now' or 'today' or '+1 week' etc.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-07 21:03 UTC]
Automatic comment from SVN on behalf of cmb
Log: documented parsing of relative formats (fixes #70209)
 [2015-08-07 21:03 UTC]
-Status: Open +Status: Closed -Package: Documentation problem +Package: Date/time related -Assigned To: +Assigned To: cmb
 [2015-08-07 21:03 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Nov 28 17:01:27 2023 UTC