Posted by Jim Michaels on 02/27/06 08:16
"Ren" <nobody@nospam.com> wrote in message
news:dtkkse$ns9$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...
> 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.
>
> Does anyone know how to display this in php?
>
> Thanks
> Ren
>
another way to get milliseconds down to 2 digits is to zero-fill to 3
digits, and lop-off the last digit using substring().
Navigation:
[Reply to this message]
|