How we check the time overlapping

I have 4attributes start time HH and MM and end date HH and MM  For example for a particular day I have entered starttime Is 9-30am and end time 11-30am in that day I have again entered 10-30 to 1-00pm In that scenario I want to check condition logic please help in this logic
1 answers

If both are date time attributes (so a seperate one for the start date and a seperate one for the enddate) you can use the functions < or > or <= and >= to check if one date is greater or smaller as another date. This way you could check if one date time is between two other date time attributes.