Re: Display time and include milliseconds
- From: noone <noone@xxxxxxxxxxx>
- Date: Thu, 23 Feb 2006 17:08:37 GMT
Ren wrote:
Ok i meant hundredths of a second. How do i do this using microtime()????
"Oli Filth" <catch@xxxxxxxxxxxxxx> wrote in message news:M8lLf.43433$K42.9255@xxxxxxxxxxxxxxxxxxxxxxx
Ren said the following on 23/02/2006 15:39:
Hi all,
I am trying to display the current time including milliseconds (two digits only). So for example the current time will have Hour : Minute : Second : Millisecond.
Example: 15:25:05:03 (This would represent 3:25pm)
Just to clarify the millisecond will be similar to what is shown on a stopwatch. So once you get past 99 milliseconds the second will go up by 1.
So you actually mean hundredths of a second?
You can get the fractional time using microtime().
--
Oli
Please do not top-post,,
http://us3.php.net/manual/en/function.microtime.php has many examples of how to use microtime() This, with the DATE() function may give you what you want....
.
- References:
- Display time and include milliseconds
- From: Ren
- Re: Display time and include milliseconds
- From: Oli Filth
- Re: Display time and include milliseconds
- From: Ren
- Display time and include milliseconds
- Prev by Date: Re: QUERY AND UPDATE PROBLEM
- Next by Date: Re: rename function not working ???
- Previous by thread: Re: Display time and include milliseconds
- Next by thread: rename function not working ???
- Index(es):
Relevant Pages
|