Bug #14473 Updated: strtotime wont parse date
| From: | derick@php.net | Date: | Wed, 12 Dec 2001 23:46:12 +0000 |
| Subject: | Bug #14473 Updated: strtotime wont parse date | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73423@lists.php.net to get a copy of this message | ||
ID: 14473
Updated by: derick
Reported By: lindsay.marshall@ncl.ac.uk
Status: Open
Old Bug Type: Date/time related
Bug Type: Feature/Change Request
Operating System: Redhat 7.2
PHP Version: 4.1.0
New Comment:
From the manual:
strtotime -- Parse about any English textual datetime description into a UNIX timestamp
please note it says any, not all.
Moving this to a feature request.
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-12-12 18:36:30] lindsay.marshall@ncl.ac.uk
strtotime('12th December 2001')
returns -1
The 'th' after the number causes the problem, but this is a perfectly acceptable date
representation and should be recognised I believe.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14473&edit=1