how to check time overlap

32

javascript check if two date ranges overlap -

if((StartDate1 <= EndDate2) && (StartDate2 <= EndDate1)) {
  	//overlapping dates
}

Comments

Submit
0 Comments