I have a CDT with some kinds of information
Alle data in these cdt list have a start date and an end data. I have to find period overlaps. But I'm just resolved that problem. My req now is another, after I find all period that overlaps Ex: index of ordered by date array 2,3,4,5,6 of an array of 7 elements.
Now seeing data I know that invervals that overlaps are 2,with 3 and 4 and 5 with 6.
My problem is to find that kind of subgroups
2-3-4 and 5-6.
Discussion posts and replies are publicly visible
[ start_date: 01/01/2020 - end_date: 31/01/2020 ]
[ start_date: 01/03/2020 - end_date: 31/03/2020 ]
[ start_date: 29/03/2020 - end_date: 02/04/2020 ]
[ start_date: 01/04/2020 - end_date: 30/04/2020 ]
[ start_date: 01/05/2020 - end_date: 31/05/2020 ]
[ start_date: 18/05/2020 - end_date: 31/05/2020 ]
[ start_date: 01/06/2020 - end_date: 30/06/2020 ]
now i'm find that index of array that have overlaps are 2,3,4,5,6
but i'm not capable to find that 2 overlaps with 3 and 4 and that 5 overlaps with 6