ID:               28717
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andy at advancethermal dot com
-Status:           Open
+Status:           Wont fix
 Bug Type:         Date/time related
 Operating System: WindowsXP
 PHP Version:      4.3.7
 New Comment:

This is fixed for PHP 5, but will not be fixed in PHP 4.


Previous Comments:
------------------------------------------------------------------------

[2004-06-10 00:31:47] andy at advancethermal dot com

Description:
------------
strtotime() returns -1 for dates in the format yyyy-mm-dd hh:mm:ss.fff 
(where .fff represents the fraction of the second)

e.g. strtotime("2004-06-09 17:25:14.333") returns -1

[MSSQL via ODBC returns dates in this format.]


Reproduce code:
---------------
$sv = strtotime("2004-06-09 17:25:14.333");
echo $sv;

Expected result:
----------------
1086819914

Actual result:
--------------
-1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28717&edit=1

Reply via email to