|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-10-18 06:08 UTC] derick@php.net
[2001-12-01 12:11 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
I was doing 'echo strtotime("October 12th 2001 - 02:52:51 AM");' and unfortunately, it returned '-1'. I expected a UNIX timestamp. After some playing I found that the 'th' caused the trouble. Is strtotime unable to parse things like 'rd','nd','st' or 'th'? Is it a bug or a non-feature? I am using the php version which comes with debian woody.