PHP Execution Time Script

Simple php script helps you to measure the execution time of the current page.


  • Php timer script shows the loading time of the current page and displays in seconds.
  • Simple online script that allows the visitors to know the loading time of the current page and grabs their attraction.
  • It can also be used for debugging and testing of web pages.
  • Highly responsive and easy to use.


Execution time of current page is : 8.3E-5 seconds.


$tz_object = new DateTimeZone('Asia/Kolkata');
$datetime = new DateTime();
$yt= $datetime->format('Y');
$mt= $datetime->format('m');
$dt= $datetime->format('d');
$hours= $datetime->format('H');
$minutes= $datetime->format('i');
$seconds= $datetime->format('s');
function timer()
$time = explode(' ', microtime());
return $time[0]+$time[1];
$beginning = timer();
<title>PHP Timer Script</title>
<div align='center'>
<b>PHP Timer Script</b><br><br>
<div id='pagetime'>
<b>Execution time of current page is : </b><font style='color:green;font-weight:bold;'><?php echo round(timer()-$beginning,6); ?> seconds.</font><br>
<div id='strclock'></div>
body {
background: #fff none repeat scroll 0 0;
font: 0.81em/150% Tahoma,Geneva,sans-serif;
<div id="dumdiv" align="center" style="font-size: 10px; color: #dadada;">
<a id="dum" style="text-decoration:none; color: #dadada;" href="">&copy;H</a>
  • Release Date - 10-12-2015
  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to


  • Copy and paste the above code in your web page.
  • Here, the function microtime() is used to display the execution time.
  • The php script is used to display the execution time for your webpage.


Related Scripts

Free Php Scripts

Ask Questions

Ask Question