The toInstant() method returns a Temporal.Instant object representing the instant of this ZonedDateTime.