note 72541 modified in function.strtotime by derick
| From: | derick@php.net | Date: | Sun, 08 Apr 2007 12:57:15 +0000 |
| Subject: | note 72541 modified in function.strtotime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125202@lists.php.net to get a copy of this message | ||
Somewhere between PHP5.0 and PHP5.1.6, strtotime started accepting '.' (period, dot) as
well as ':' (colon) as a time separator.
before: "2.30pm" == -1
after: "2.30pm" == 14:30
[red.: This is working since PHP 5.1.0]
--was--
Somewhere between PHP5.0 and PHP5.1.6, strtotime started accepting '.' (period, dot) as
well as ':' (colon) as a time separator.
before: "2.30pm" == -1
after: "2.30pm" == 14:30
http://php.net/manual/en/function.strtotime.php