Diffinhours avec des minutes de carbone
$start = new Carbon('2021-01-01 00:00:00');
$end = new Carbon('2021-01-01 07:26:00');
// One line solution
$start->diff($end)->format('%H:%I:%S'); // 07:26:00
// OR
$totalDuration = $end->diffInSeconds($start); // 21
gmdate('H:i:s', $totalDuration); // 07:26:00
El Weno