Tag: localdate

  • How to convert LocalDate to Util Date and vice versa in Java?

    Java 8 introduced LocalDate to represent date without the time information . But sometimes we may need to convert LocalDate to the legacy java util Date in our code . This post explains how to convert from LocalDate to java.util.Date and vice versa. The below code converts local date to Util Date: And the below…