Posted by noone on 02/23/06 19:08
Ren wrote:
> Ok i meant hundredths of a second. How do i do this using microtime()????
>
>
> "Oli Filth" <catch@olifilth.co.uk> wrote in message
> news:M8lLf.43433$K42.9255@newsfe7-win.ntli.net...
>
>>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....
[Back to original message]
|