 |
Title: precise microtime Marked Cool (Review this resource) Author: silence Posted On: 2004-11-22 Category: Home > PHP Functions
Popularity:
Description: The function 'precise_microtime' will return precise microtime. It's a small but powerfull function. It's cool. Read it now!
Total Hits: 457 Total Votes: 0
Total Points: 0 (0 reviews)
Page Navigation: [1]
The function 'precise_microtime' will return precise microtime. See below how to use it.
php function:
<?
function precise_microtime()
{
$time = explode(" ", microtime());
$time[0] = strpbrk($time[0], ".");
return $time[1].$time[0];
}
?>
See the below example :
php:
<?
echo precise_microtime();
echo '<br>';
echo microtime(TRUE);
?>
will print:
1101156871.67272300 <- precise_microtime()
1101156871.67
Page Navigation: [1]
|
|
 |