Java Program to Convert Date to LocalDate, LocalDateTime
In this post we’ll see Java programs to convert Date to LocalDate, Date to LocalTime and Date to LocalDateTime. The java.util.Date represents date and time in coordinated universal time (UTC). In the new Date and Time API available from Java 8 there are the following three classes for representing date…