note 22243 added to function.microtime

From: Date: Wed, 12 Jun 2002 01:56:21 +0000
Subject: note 22243 added to function.microtime
Groups: php.notes 
Request: Send a blank email to php-notes+get-31718@lists.php.net to get a copy of this message
microtime() returns a string with both the integer and decimal portion of the number of seconds since the Unix epoch. The function that is provided is correct, in that it will simply convert both portions of the string into floating point numbers, then add them. The 'micro' part of the function name is derived from the fact that when processed, the resulting time will be accurate to the millionth decimal place or so; It is not referring to the units used for the return value. -- http://www.php.net/manual/en/function.microtime.php http://master.php.net/manage/user-notes.php?action=edit+22243 http://master.php.net/manage/user-notes.php?action=delete+22243 http://master.php.net/manage/user-notes.php?action=reject+22243

« previous php.notes (#31718) next »