Reply to Re: Display time and include milliseconds

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация