- Output for 7.1.25 - 7.1.33, 7.2.0 - 7.2.24, 7.3.0 - 7.3.11
- Parse error: syntax error, unexpected ')' in /in/udkVs on line 9
Process exited with code 255.
<?php
$date = new \DateTime("now");
$hourString = $date->format('H:i');
if (
strtotime($hourString) > strtotime('12:00:00') && strtotime($hourString) < strtotime('23:59:59') &&
strtotime($hourString) > strtotime('00:00:00') && strtotime($hourString) < strtotime('07:00:00') &&
) {
echo($hourString);
}