ZonedDateTime can be converted to Java Date by converting it to an instance first,Date date = Date.from(ZonedDateTime.now().toInstant()); https://docs.oracle.com/javase/8/docs/api/java/time/ZonedDateTime.html Read more
No comments:
Post a Comment