Question: how to calculate years months and days between two dates in java?
Answer: println("Difference: " + period. getYears() + " years " + period. getMonths() + " months " + period. getDays() + " days ");