Is there any PHP function that does the same thing as SQL function TIMEDIFF() ?
Here is my code:
$to_time = array_search( 'time2.Time', $aCols );
$from_time = array_search( 'time1.Time', $aCols );
$value= ;
I need to get values in this format HH:MM:SS
I use this version : PHP 5.2.17
If you use php 5.3 or after you can use the following code
or before 5.3 try something like this:
http://codepad.viper-7.com/b9b0L5