1LocalDate today = LocalDate.now();
2LocalDate birthday = LocalDate.of(1987, 09, 24);
3
4Period period = Period.between(birthday, today);
5
6//Now access the values as below
7System.out.println(period.getDays());
8System.out.println(period.getMonths());
9System.out.println(period.getYears());