java add days to date code example Example: add days to date java LocalDate date=LocalDate.now(); date.addDays(1); System.out.println(date);