RE: [PHP] How do I get milliseconds?
| From: | Jay Blanchard | Date: | Wed, 04 Sep 2002 18:55:13 +0000 |
| Subject: | RE: [PHP] How do I get milliseconds? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115209@lists.php.net to get a copy of this message | ||
[snip]
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?
[/snip]
$ms = (date("s")/1000);
I don't think that there is a method to return it. I looked through php.net
(searched millisecond and milliseconds) and found some things which might
point you in the right direction.
HTH!
Jay
*****************************************************
* Texas PHP Developers Conf Spring 2003 *
* T Bar M Resort & Conference Center *
* New Braunfels, Texas *
* Contact jay.blanchard@niicommunications.com *
* *
* Want to present a paper or workshop? Contact now! *
*****************************************************