function timeAndMilliseconds()
{
$m = explode(' ',microtime());
return array($m[1], (int)round($m[0]*1000,3));
}
list($totalSeconds, $extraMilliseconds) = timeAndMilliseconds();
$answer_time = date("d-m-Y H:i:s", $totalSeconds) . ".$extraMilliseconds\n";
{
$m = explode(' ',microtime());
return array($m[1], (int)round($m[0]*1000,3));
}
list($totalSeconds, $extraMilliseconds) = timeAndMilliseconds();
$answer_time = date("d-m-Y H:i:s", $totalSeconds) . ".$extraMilliseconds\n";
No comments:
Post a Comment