How to get index in list based on time?

Maybe that …
Did you try to compare if the time is greater than 19:24 and less or equal than 20:30 … index = 2?

If > 20:30 And <= 21:25 index = 3
If > 21:25 And <= 22:17 index = 4…

1 Like