Compare times

UKHeliBob:
What about midnight to 10:00 am and 10:00 pm to midnight ?

Hi UKHeliBob

What I really want to do is like this, I'll explain it another way!

In the 10:00-11-12-13-14-14-16-17:00 -->I want you to show me the ""open window"".

After 17:00-18-19-20-21-22-23-00-01-02-03-04-05-06-07-08-09-10:00-->I want you to show me the ""Closed window"".

I hope you understand now what I am trying to do with your help.
Thanks