<?php $date = new \DateTime("now"); $hourString = $date->format('H:i'); if (strtotime($hourString) > strtotime('11:00:00') && strtotime($hourString) < strtotime('06:00:00')) { echo($hourString); }
You have javascript disabled. You will not be able to edit any code.