PHP Classes

File: example.phpbuildtime.php

Recommend this page to a friend!
  Classes of Georg Gasseling  >  phpBuildTime  >  example.phpbuildtime.php  >  Download  
File: example.phpbuildtime.php
Role: Example script
Content type: text/plain
Description: example script for phpbuildtime.class
Class: phpBuildTime
Time measurement of on the php side
Author: By
Last change:
Date: 13 years ago
Size: 566 bytes


Class file image Download
 * Example for phpbuildtime.class.php


$object = new phpBuildTime; // make an object of phpbuildtime class

$start_time = $object->GET_TIME(); // take the first time





= $object->GET_TIME(); // take the second time

echo $time_diff = round($diff_time = $object->DIFF_TIME($start_time, $end_time),4); // determine the difference of time