TimezoneInformation (STRUCT)

TYPE TimezoneInformation : STRUCT

<category>Timezone information</category> <description>

This information describes a local timezone with standard- and daylight-saving-time (also known as summer- and wintertime).

</description>

InOut:

Name

Type

Comment

ulStandardDate

UDINT

<element name=”ulStandardDate” type=”IN”>Date to switch to standard time (from summer- to wintertime) [local time in seconds since 1.1.1970 00:00:00]</element>

ulDaylightDate

UDINT

<element name=”ulDaylightDate” type=”IN”>Date to switch to daylight savings time (from winter- to summertime) [local time in seconds since 1.1.1970 00:00:00]</element>

szStandardName

STRING(32)

<element name=”szStandardName” type=”IN”>Standard name of the timezone (wintertime) [string with max. 32bytes]</element>

szDaylightName

STRING(32)

<element name=”szDaylightName” type=”IN”>Daylight savings time name (summertime) [string with max. 32bytes]</element>

iBias

INT

<element name=”iBias” type=”IN”>The current bias for local time translation on this device [minutes]. The bias is the difference, in minutes, between Coordinated Universal Time (UTC) and local time. All translations between UTC and local time are based on the following formula: UTC = local time + bias; bias = minutes west of UTC </element>

iStandardBias

INT

<element name=”iStandardBias” type=”IN”>The bias value to be used during local time translations that occur during standard time [minutes]. This member is ignored if a value for the ulStandardDate member is not supplied. This value is added to the value of the iBias member to form the bias used during standard time. In most time zones, the value of this member is zero. </element>

iDaylightBias

INT

<element name=”iDaylightBias” type=”IN”>The bias value to be used during local time translations that occur during daylight saving time [minutes]. This member is ignored if a value for the ulDaylightDate member is not supplied. This value is added to the value of the iBias member to form the bias used during daylight saving time. In most time zones, the value of this member is - 60 (MINUS 60). </element>