3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Europe/London'); $date = strtotime("November 22, 2017 12:01 AM"); $remaining = $date - time(); $str = date("H:i:s", $remaining); Echo $str;
based on 8psfb
Output for 5.6.0 - 5.6.30, hhvm-3.18.5, hhvm-3.22.0, 7.0.0 - 7.3.0beta1
18:28:38
Output for hhvm-3.21.3
18:28:37