Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The offsetNanoseconds
accessor property of Temporal.ZonedDateTime
instances returns an integer representing the offset used to interpret the internal instant, as a number of nanoseconds (positive or negative). The value is a safe integer because it's less than a day, which is 8.64e15 nanoseconds.
The set accessor of offsetNanoseconds
is undefined
. You cannot change this property directly. Change offset
to change this property too.