Skip to main content
Version: 7.9

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

    • None
  • 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)