|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-10 09:00 UTC] derick@php.net
[2004-06-11 17:20 UTC] php1 at clayst dot com
[2004-06-11 17:30 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 07:00:01 2025 UTC |
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