Answers for "java convert java.util.Date to LocalDate"

0

java convert java.util.Date to LocalDate

Date yourDate = new Date(); // this will be your java.util.Date instance to convert
LocalDate date = yourDate.toInstant().atZone(ZoneId.systemDefault()).toLocalDate();
Posted by: Guest on May-19-2021

Code answers related to "java convert java.util.Date to LocalDate"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language