I have a time string as 8:00AM-9:30AM TTH stored in mysql table. I want to check time range, if user selected 9:00am-10:30am Thursday comes in between time 8:00AM -9:30PM? How to trap it out in php.
Time is stored as below
Time Day
8:00AM -9:30AM TTH
10:30AM -12:00PM
8:00AM -9:30PM
8:00AM -9:30PM