Im getting 2 date variables . One is $dowrow["FAILTIME"] (pulling it out from mysql) the other is currentlFailingLength
Code:
$currentFailLength = date('H:i:s', (strtotime(date('H:i:s')) - strtotime($dowrow["LASTFAIL"])));
gives 02:53:56

$dowrow["FAILTIME"] is 00:00:04

Code:
$totalFailLength = date('H:i:s', strtotime($dowrow["FAILTIME"]) + strtotime($currentFailLength));
echo $dowrow["FAILTIME"] ."+". $currentFailLength ."=". $totalFailLength;
shows 00:00:04+02:53:56=17:25:44

how to i get a proper answer in this example total should be 02:54:56 , right .... ?