Quote Originally Posted by menta View Post
Thanks,
The main risk is if for some reason you loose a check, then you have missed the program start time
That's why you use LONG variables, calculate out the # of seconds since midnight then do a comparison, i.e.
If current_time_in_seconds > _on_time_in_seconds then
do-whatever

Or do it the hard way with WORDs and multiple IF/Then And/Or statements...