I was wondering if there was already an implemented Datecounter which will count how many years, month and days it differs from a date to another? And if there is a difference, the function will count how many years, month and days in difference and store it and we only need to use Console.Writeline(timecomparer.yearDiffCounter);
to tell them how many years it is in difference
For example (pseudocode, not 100% correct)!
Date date1 = new Date("2013-07-05");
Date date2 = new Date("2010-07-05");
TimeComparer compare = new TimeComparer();
compare.differDate(date1,date2); //here it will count and give 3 years difference