Posted by Fabian Hore on 02/23/06 19:13
the php timestamp expected by date() is in seconds
not milliseconds unlike javascript & actionscript
but you can get milliseconds to use as you see fit - see microtime()
cheers
"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
>
[Back to original message]
|