ToTime(Time[0]) >= a && ToTime(Time[0]) <= b)
My problem now is that if one of the windows is say, 22:00 to 02:00, will I need to rewrite the function to use a different logic if the closing time (b) is lesser than the opening time (a)?
Next, I have a function that does something after an offset of time after an event occurs. If the event occurs at 23:55 and the offset is 10 minutes, the trigger is set
by 235500 + 001000 which would give 240500. When dealing with time, will NT recognize that 240500 is equivalent to 000500 or do I have to add additional logic to deal with times > 240000?
Thanks
Comment