<?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");
?>
- Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- 2015-12-09 14:45
- Output for 7.3.32 - 7.3.33, 8.0.13
- 2015-12-09 13:45
preferences:
255.67 ms | 401 KiB | 330 Q