Re: Using date() to spit out milliseconds???
| From: | Scott Fletcher | Date: | Fri, 11 Jun 2004 17:16:03 +0000 |
| Subject: | Re: Using date() to spit out milliseconds??? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188117@lists.php.net to get a copy of this message | ||
I have decided to take up your suggestion and customize it.
--snip--
date("Y-m-d H:m:s.").substr(microtime(),2,6);
--snip--
This is all I need to create a timestamp.
Thanks...
"Curt Zirzow" <php-general@zirzow.dyndns.org> wrote in message
news:20040611171139.GC80292@bagend.shire...
> * Thus wrote Scott Fletcher (scott@abcoa.com):
> > I noticed that date() doesn't provide the option to give me the time in
> > millisecond, so anyone know of a way to do that or anyone know of a
script
> > that can do something like this.
>
> http://php.net/microtime
>
>
> Curt
> --
> First, let me assure you that this is not one of those shady pyramid
schemes
> you've been hearing about. No, sir. Our model is the trapezoid!