(CAA_RealTimeClock.library)
This data structure defines information on a time zone with two switch times for the automatic switch between summer and winter (standard) time and the Bias for the calculation of the local time.
iBias |
INT |
Local time = UTC + iBias |
sPeriode |
ARRAY [1..2] OF ⇘ RTCLK.PERIODE_INFO |
First entry describes standard time, Second entry describes summer time |
iBias defines an offset in minutes for the calculation of the local time on the target system. iBias is the time difference between local time and UTC (coordinated universal time):
local time = UTC + iBias
The standard time in Germany, Poland, Austria, Switzerland and Italy is the Central European Time (CET), which is equal to UTC plus one hour (60 minutes).