Created
April 23, 2018 19:49
-
-
Save acwoss/d7540e9656578272e60e3fd02c71a404 to your computer and use it in GitHub Desktop.
WoozyLoudNature created by acwoss - https://repl.it/@acwoss/WoozyLoudNature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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