Extended instructions
9.1 Date, time-of-day, and clock functions
S7-1200 Programmable controller
342 System Manual, V4.2, 09/2016, A5E02486680-AK
TimeTransformationRule data structure
Description
The changeover rules for standard and daylight saving time are defined in the
TimeTransformationRule structure. The structure is as follows:
Bias INT Time difference between local time and UTC [minutes]
DaylightBias INT Time difference between daylight saving and standard time [minutes]
DaylightStartMonth USINT Month of conversion to daylight saving time
Range: 1 to 12
DaylightStartWeek USINT Week of conversion to daylight saving time
1 = First occurrence of the weekday in the month, ...,
5 = Last occurrence of the weekday in the month
DaylightStartWeekday USINT Weekday of daylight saving time changeover:
DaylightStartHour USINT Hour of daylight saving time changeover:
DaylightStartMinute USINT Minute of daylight saving time changeover
StandardStartMonth USINT Month of conversion to standard time
StandardStartWeek USINT Week of conversion to standard time
1 = First occurrence of the weekday in the month, ...,
5 = Last occurrence of the weekday in the month
StandardStartWeekday USINT Weekday of standard time changeover:
StandardStartHour USINT Hour of standard time changeover
StandardStartMinute USINT Minute of standard time changeover
TimeZoneName STRING[80] Name of time zone: "(GMT+01:00) Amsterdam, Berlin, Bern, Rome,