Re: Not important - Simple question about microsec()
| From: | (Chris Adams) | Date: | Wed, 04 Apr 2001 04:52:17 +0000 |
| Subject: | Re: Not important - Simple question about microsec() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46980@lists.php.net to get a copy of this message | ||
On 3 Apr 2001 20:31:28 -0700, SED <sed@sed.is> wrote:
>I think the latter part of the value is Unix-time in sec (right?), but what
>does the former part say like: 0.25576700 ?!?
For some reason, microtime() returns results backwards - the first part is the
decimal portion of the second part.
As for the time being returned in properly, are you by any chance running this
on Windows? I seem to recall reading something in bugs.php.net about that when
I ran into some benchmark problems with code which worked properly on Unix and
returned results like you showed on Windows ("Wow! This sure is a fast computer
- it finished before it started!").