I am making a project on a restaurant where I have put table reservation. I am having problem calculating the time span between two times. It should be like this:
If a person want to book table, he is putting a date and two times. I will have to check whether there are any booking in the time span between these two times. I have put the screenshot of my table structure with this question. Please help me.
(Full size image is here.)
where
user_fromanduser_toare user input time