Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #convert #LocalDate
ADD COMMENT
Topic
Name
8+9 =