Hi, I'm trying to decipher some code that selects tasks based on their time, or so it says... Here's the filter:
datepart(hh,@NOW)*60 + datepart(mi,@NOW) + time_offset*60 BETWEEN 480 and 1170)
A comment next to it says it will select tasks between 8:00 am and 7:30 pm. Is this correct? How does this work?