Page 1 of 1

[HD-OCP17/21-Fundamentals Pg 0, Sec. 22.4.0 - translating-date-time-objects-into-different-types-and-different-time-zone

Posted: Sun Sep 14, 2025 2:57 am
by dtruebin
For example, a ZonedDateTime of 2024-12-01T06:00-05:00[America/New_York] will translate to an Instant representing 2024-12-01T011:00Z (because 6 - -5 = 11).
Nitpicking, but the string representation of the Instant would not have a zero between "T" and "11".

Re: [HD-OCP17/21-Fundamentals Pg 0, Sec. 22.4.0 - translating-date-time-objects-into-different-types-and-different-time-

Posted: Sun Sep 14, 2025 10:14 pm
by admin
Right. Fixed.
thank you for your feedback!