I need to count the days intervals in a dictionnary Of(Date, String)
so if row 1 is : 12/01/01/2019, ABC
row 2 is : 12/01/15/2019, XYZ
row 3 is : 12/02/22/2019, MNP
I need to have results like this somehow:
so there is 15 days interval between row1 and row2 and there is 38 days between dates of row and row 3 (we need also to take into account the 30/31/28 ending days of months)
how can I do that!? Any efficiant ways with LINQ maybe ?