This function is used in Python Scripting.


Returns the current time zone offset versus UTC, not taking Daylight Saving Time into account.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.


  • Parameters


  • Returns

Double - The time zone offset.

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet
# This example gives the raw timezone offset (ignoring Daylight Saving Time) for the computers current time zone.

print # returns -8.0 (if you are in the Pacific time zone)

system date getTimezoneRawOffset, date.getTimezoneRawOffset