Answers for "convert java.util.date to java.time.localdatetime"

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 "convert java.util.date to java.time.localdatetime"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language