Skip to main content
Version: 7.9


This function is used by Ignition's Expression language.


Returns the current timezone's offset versus UTC for a given instant, taking Daylight Savings Time into account.



  • 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

Code Snippet
getTimezoneOffset(getDate(2017, 1, 22)) //returns -8.0 (if you are in Pacific Daylight Time)