Documentation

GETTIMEZONEOFFSET

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

Output Type Description
=> TIME Output value

Application example