JavaScript Periksa apakah rentang dua tanggal tumpang tindih
if((StartDate1 <= EndDate2) && (StartDate2 <= EndDate1)) {
//overlapping dates
}
Sironicas
if((StartDate1 <= EndDate2) && (StartDate2 <= EndDate1)) {
//overlapping dates
}