jmoises
Active Member
Hello i have 2 time elements, i have little trouble to get the differnt time, i am using this code in a CALC element:
But i not geting the correct diference
thanks for any advise
Code:
$salida = strtotime("{competidores___hora_salida}");
$llegada = strtotime("{competidores___hora_llegada}");
$dateDiff = $salida - $llegada;
return date('H:i:s', $dateDiff);
But i not geting the correct diference
thanks for any advise