When making a php document, add this to the body:
Code:
<?php
$start = microtime();
$split = explode(" ", $start);
$start_exact = $split[0];
$start_seconds = date("U");
$start_time = $start_exact + $start_seconds;
?>
Then, add this to the place where you want the Generation Time to appear:
Code:
<?php
$end = microtime();
$split = explode(" ", $end);
$end_exact = $split[0];
$end_seconds = date("U");
$end_time = $end_exact + $end_seconds;
$difference = $end_time - $start_time;
$time = round($difference, 5);
?>
Page generated in <?php echo $time; ?> seconds.
Elvadar