PHP select current time in cell

minnieguanaco

New Member
If I use PHP code like:\[code\]for ($i = 1; $i <= 24; $i++) { $timetable=strftime("%X", mktime(0, 0, $hour[$i], $month, $day, $year)); }\[/code\]to get timetable for current day that looks like:\[code\] time | ---------- 05:09:23 | ---------- 07:23:18 | ---------- 11:55:41 | ---------- 14:01:32 | ----------\[/code\]I want to highlight cell where the printed time include the current time (if the current time is 9:23:00 highlight cell will be the one with the printed time 07:23:18 and if the current time is 13:59:06 highlight cell will be 11:55:41)How can I do that?
 
Back
Top