can this code be made randomly? i mean not to set it by myself , to randomly chose hours every day ? Thanx in advance
$happyhourstart = 15; // Change this to the start time
$happyhourend = 17; // Change this to the end time
if ((date("H") >= $happyhourstart) && (date("H") < $happyhourend)) {
$happyhour = true;
} else {
$happyhour = false;
}