just a fyi on why. strtotime obeys the information found here:
http://www.gnu.org/manual/tar-1.12/html_chapter/tar_7.html
so, doing strtotime('Twelfth December 2001'); will work. anyway, fwiw
there you have it :)
regards,
philip olson
On 12 Dec 2001 [EMAIL PROTECTED] wrote:
> ID: 14473
> Updated by: derick
> Reported By: [EMAIL PROTECTED]
> 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] [EMAIL PROTECTED]
>
> 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
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]