Hi RSmits,
Welcome to the forums.
Im a hack programmer, and I have not tested this code, but here is how I would do it;
//GetDayOfWeek(); Sun=0, Mon=1, Tue=2, Wed=3, Thur=4, Fri=5, Sat=6
//GetSecondsSinceMidnight();
day_of_week = GetDayOfWeek();
seconds_since_midnight = GetSecondsSinceMidnight();
if ((day_of_week > 0) and (day_of_week <= 5) and (seconds_since_midnight == 24300))
then digital_point = 1;
endif
if (seconds_since_midnight == 68400)
then digital_point = 0;
endif
Would love to see how others would do it.
Ben.