note 22121 deleted from function.microtime by irchtml
| From: | irchtml@php.net | Date: | Wed, 25 Feb 2004 14:28:23 +0000 |
| Subject: | note 22121 deleted from function.microtime by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65726@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Note that microseconds are not milliseconds. Most people want stuff displayed as sec.milliseconds
sss.mmmuuupppnnn
where s=seconds, m=millisec, u=microsec, p=picosec, n=nanosec IIRC.
So the function example above should be:
(((float)$usec/1000) + (float)$sec)
I reserve the right to be wrong.