0

I have java.util.Date Object in yyyy-MM-dd format. I would like to know how to convert this to java.time.LocalDate with yyyy-MM-dd format.

Sinto
  • 3,710
  • 11
  • 32
  • 59
darkmatter
  • 55
  • 1
  • 10
  • 1
    Please check- this might help you : https://stackoverflow.com/questions/21242110/convert-java-util-date-to-java-time-localdate – Srushtee J. Aug 21 '18 at 06:02
  • Neither a `java.util.Date` nor a `java.time.LocalDate` has got a format. A format comes in a `java.lang.String`. – Ole V.V. Aug 21 '18 at 08:52

0 Answers0