note 26949 deleted from function.microtime by didou
| From: | didou@php.net | Date: | Mon, 29 Dec 2003 15:19:13 +0000 |
| Subject: | note 26949 deleted from function.microtime by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-62631@lists.php.net to get a copy of this message | ||
Note Submitter: master@xyborx.dk
----
tonicpeddler> I had the same problem. The thing is, you cant simply say $endtime-$starttime,
tonicpeddler> because they are organised in a way that doesn't allow that (look in the function describtion
tonicpeddler> for more details). You need to somehow calculate the microseconds and the seconds seperately.
I haven't yet had a closer look on this function or how it works, so I might be wrong. At
least, I didn't manage to create my own runtime-counter for my website, so I simply grapped it
from somewhere else :)