LocalDate date = LocalDate.parse("2020-05-21"); // Displaying date System.out.println("Date : "+date); // Add 2 months to the date LocalDate newDate = date.plusMonths(2); System.out.println("New Date : "+newDate); // 2020-07-21