I recently moved to Java 8 to, hopefully, deal with local and zoned times more easily.
However, I\'m facing an, in my opinion, simple problem when parsing a simple d
If coming from Google:
Instead of doing:
ZonedDateTime.from(new Date().toInstant());
Try this:
ZonedDateTime.ofInstant(new Date(), ZoneId.of("UTC"));