If you are looking for milliseconds on the current time, see the
examples on microtime():
http://www.php.net/manual/en/function.microtime.php
Here is a summary of how to get milliseconds:
list($usec, $sec) = explode(" ",microtime());
$milliseconds = (((float)$usec/1000) + (float)$sec);
I haven't tested this out, but it looks right.
Michael "phpzen" Richardson
-----Original Message-----
From: DonPro [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 11:47 AM
To: php list
Subject: [PHP] How do I get milliseconds?
Using the following code,
date("His")
I get the hours, minutes and seconds. Is there a way to extend this so
that I get the milliseconds too?
Thanks,
Don
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php