The UTC instant at which timeZone shows the given wall clock. DST edges: a nonexistent time (spring-forward gap) maps to a real instant within an hour of the gap; an ambiguous time (fall-back) resolves to the earlier of the two instants.
timeZone
dateFromZonedTime( { year: 1993, month: 8, day: 18, hour: 11, minute: 0, second: 0 }, 'Asia/Kathmandu',).toISOString(); // "1993-08-18T05:15:00.000Z" Copy
dateFromZonedTime( { year: 1993, month: 8, day: 18, hour: 11, minute: 0, second: 0 }, 'Asia/Kathmandu',).toISOString(); // "1993-08-18T05:15:00.000Z"
The UTC instant at which
timeZoneshows the given wall clock. DST edges: a nonexistent time (spring-forward gap) maps to a real instant within an hour of the gap; an ambiguous time (fall-back) resolves to the earlier of the two instants.