Skip to content

getTimezoneOffset

Returns the stored time-zone offset.

myDateTimeOffset.getTimezoneOffset():number

Returns

Minutes using the JavaScript Date#getTimezoneOffset sign convention in browser form scripts; the offset hour component in server workflow scripts.

Remarks

For a portable representation, use toISOString() rather than interpreting this numeric value.