35
rated 0 times
[
42]
[
7]
/ answers: 1 / hits: 37196
/ 10 Years ago, tue, april 1, 2014, 12:00:00
I have multiple date ranges. I want to check if they are overlapping in javascript. When there are only two it is easy, I use:
if(start_times1 <= end_times2 && end_times1 >= start_times2) {}
But what is the formula when there are more than 2 date ranges?
More From » date