Table of Contents

Time zone offset

Function name

GETTIMEZONEOFFSET

ST call

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

Description

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

Outputs

OutputTypeDescription
TIMEOutput value

Application example