Question: how to calculate date difference in days months and years in java?
Answer: between( earlier , today ) ; int years = p. getYears(); int months = p. getMonths(); int days = p. getDays();