[PHP] Using date() to spit out milliseconds???

2004-06-11 Thread Scott Fletcher
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.

THanks,
 Scott F.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Using date() to spit out milliseconds???

2004-06-11 Thread Curt Zirzow
* Thus wrote Scott Fletcher ([EMAIL PROTECTED]):
 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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Using date() to spit out milliseconds???

2004-06-11 Thread Scott Fletcher
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 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 * Thus wrote Scott Fletcher ([EMAIL PROTECTED]):
  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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php