Question: what is difference between date and localdate?
Answer: LocalDate, you need to ignore the time part. Another key difference between Date and LocalDate is the time zone. The old date doesn't have timezone associated with it but when you print it will print in the system's default time zone.