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