3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo date("Y-m-d H:i", strtotime("now")); if (strtotime("2015-12-10 15:42:00") > strtotime("2015-12-10 6:00:00") && strtotime(date("Y-m-d H:i", strtotime("2015-12-10 6:01:00"))) < strtotime("2015-12-10 6:00:00")) $result = true; else $result = false; if($result) echo("We can execute"); ?>
based on uY5OZ
Output for 5.6.28, 7.0.20 - 7.2.0
2015-12-09 14:52
Output for 5.5.0 - 5.6.23, 7.0.0 - 7.0.8
2015-12-09 14:50