|  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
 [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: Mon Dec 11 07:01:31 2023 UTC