how to get current date in java 8 code example Example: get today date in java 8 LocalDate localDate = LocalDate.now();