Query Help: select certain time window over 2 days

I use the built in ignition schedules to determine the shift start and end times. I have a gateway timer script that writes to shift active boolean tags. Shift Work Schedules - Ignition - Inductive Automation Forum