here it is
PHP Code:
<?php
//script by Afrim S. <afrimi22@yahoo.com>
//loading time function
$time_start = getmicrotime();
function getmicrotime(){
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec);
}
//end of loading time function
//YOUR CODE GOES HERE
//final code for Loading time. DO NOT DELETE
$time_end = getmicrotime();
$time = $time_end - $time_start;
echo "Page generated in ".number_format($time,4)." seconds";
?>
brothercake, thanks for that link.