- date: documentation ( source)
- strtotime: documentation ( source)
<?php
echo date("Y-m-d H:i", strtotime("now"));
if (strtotime("now") > strtotime("Today 6am") && strtotime(date("Y-m-d H:i", strtotime("2015-12-09 7:00:00"))) < strtotime("Today 6am")) $result = true;
else $result = false;
if($result) echo("We can execute");
?>