system.date.getTimezoneRawOffset

This feature is new in Ignition version 7.8.1

Description

Returns the current timezone offset versus UTC, not taking daylight savings into account.

Syntax

system.date. getTimezoneRawOffset( )

  • Parameters

none

  • Returns

Double - The timezone offset.

  • Scope

All

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)