Time zone offset

GETTIMEZONEOFFSET

PROGRAM GETTIMEZONEOFFSET_DEMO
 VAR
     TIME_OUT: TIME;
 END_VAR
 TIME_OUT:=GETTIMEZONEOFFSET();
END_PROGRAM

The block returns time zone shift according to the local zone, or time difference between the local time zone and the standard time (UTC).

OutputTypeDescription
TIMEOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024