$day = date("w"); //numeric representation of the day (0=sunday, 6=saturday)
$hour = date("H"); // time from 00 to 23
//build a multi-dimensional array of programs..
$program[0][00] = "show1";
$program[0][01] = "show2";
$program[0][02] = "show3";
.
.
.
$program[6][22] = "showX";
$program[6][23] = "ShowY";
echo $program[$day][$hour];
?>
warning: untested..
but the idea is there...if it is 2 AM on sunday, it should say output "show3";
hth