--- title: "getTimezoneOffset" description: "Returns the current timezone's offset versus UTC for a given instant, taking Daylight Savings Time into account." --- # getTimezoneOffset > Returns the current timezone's offset versus UTC for a given instant, taking Daylight Savings Time into account. This function is used by Ignition's Expression language. ## Description ## Syntax `getTimezoneOffset([date])` - Parameters - Date **date** - Optional. A specified date to compare the current timezone to UTC. Will use the current time if left blank. - Results - float - The offset of the current time from UTC. ## Code Examples ```python title="Code Snippet" getTimezoneOffset(getDate(2017, 1, 22)) //returns -8.0 (if you are in Pacific Daylight Time) ```