Skip to main content
Version: 8.1

getTimezoneRawOffset

This function is used by Ignition's Expression language.

Description​

Returns the current timezone offset versus UTC, not taking daylight savings into account.

Syntax​

getTimezoneRawOffset()

  • Parameters

    • Nothing
  • Results

    • Float - The offset of the current time from UTC.

Code Examples​

Code Snippet
getTimezoneRawOffset() //Returns -8.0 if you are in the Pacific Timezone, regardless of time of year.