Comprobación de JavaScript si se superponen a dos rangos de fecha
if((StartDate1 <= EndDate2) && (StartDate2 <= EndDate1)) {
//overlapping dates
}
Sironicas
if((StartDate1 <= EndDate2) && (StartDate2 <= EndDate1)) {
//overlapping dates
}