Calculates the difference between two dates (passed as parameters) that returns the number of days, months, and years.