Skip to main content
Version: 7.9

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

None

Returns

Double - The timezone offset.

Scope

All

Code Examples

Example #1
# 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)