I have an Event table that specifies a date range with start_date and end_date fields. I have another date range, specified in code, that defines the
start_date
end_date
(end2 >= start1) && (start2 <= end1) I think would return true for any intersecting date ranges.
I found a discussion about this here that I found useful.