system.date.getTimezoneRawOffset
This function is used in Python Scripting.
Descriptionβ
Returns the current timezone offset versus UTC, not taking daylight savings into account.
Client Permission Restrictionsβ
This scripting function has no Client Permission restrictions.
Syntaxβ
system.date.getTimezoneRawOffset()
Parametersβ
Nothing
Returnsβ
Double - The timezone offset.
Scopeβ
Gateway, Vision Client, Perspective Session
Code Examplesβ
Code Snippet
# This example will give the Raw timezone offset (ignoring daylight savings) for the computers current timezone.
print system.date.getTimezoneRawOffset() # returns -8.0 (if you are in the Pacific Timezone)