Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WoozyLoudNature created by acwoss -
$d1 = new DateTime('2018-04-23 11:20:33');
$d2 = new DateTime('2018-04-23 08:01:00');
$atraso = $d1->diff($d2);
echo $atraso->format('%H:%i:%s'), PHP_EOL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.