note 43482 deleted from function.strtotime by derick
| From: | derick@php.net | Date: | Sun, 15 Jul 2007 12:51:48 +0000 |
| Subject: | note 43482 deleted from function.strtotime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-128595@lists.php.net to get a copy of this message | ||
Note Submitter: php at bucksvsbytes dot com
----
strtotime (in PHP 4.2.2 anyway) doesn't seem to support fractional seconds, even though the
underlying GNU routines document them. Example:
<?php strtotime('2004-06-13 09:20:00.0') ?> returns "12/31/69, 06:59:59"
(INCORRECT due to decimal seconds)
<?php strtotime('2004-06-13 09:20:00') ?> returns "6/13/04, 09:20:00"
(CORRECT, no decimal seconds)