I want to get current timestamp in ISO 8601 format with microseconds, like this format:
2021-12-15T16:06:24.400087Z
I tried this but it did not work.
Instant ins = Instant.now().truncatedTo(ChronoUnit.MICROS);
This is the timestamp that I get:
2022-06-27T07:05:13.277Z