Extended instructions
8.1 Date, time-of-day, and clock functions
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
289
TimeTransformationRule data structure
Description
The changeover rules for standard and daylight saving time are defined in the
TimeTransformationRule structure. The structure is as follows:
Time difference between local time and UTC [minutes]
Time difference between daylight saving and standard time [minutes]
Month of conversion to daylight saving time
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:
Hour of daylight saving time changeover
Minute of daylight saving time changeover
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:
1 = Sunday
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,