I have below data in my database table
id time time_slots
1 time1 09:00-10:30,12:15-14:00,16:30-19:30
2 time2 14:00-15:15,18:30-19:30
3 time3 08:30-10:00,13:00-15:00,15:30-18:00
4 time4 13:00-15:00
5 time5 15:00-16:00,17:30-18:30
Now, if the current time is 13:30 then I want 3 records(id 1,3,4) from the above table. The final result will be:
id
1
3
4
Please help me to find out the solution in the best way. Your help will be very helpful to me. Thanks in advance.