Converts a DATE_AND_TIME value from UTC to local time.
Informal Syntax:
SysDateTimeToLocal( In )
Formal Syntax:
SysDateTimeToLocal( In:=expression )
Parameter | Type | Description |
---|---|---|
In | ANY_DATE | The UTC date and time value to convert to a local time. |
The return value is the In parameter converted to local time.
Requires Fernhill SCADA Version 3.71 and later.
Example | Return Value |
---|---|
SysDateTimeToLocal(DT#2018-01-10-12:00:00.000) | DT#2018-07-10-12:00:00.000 |
SysDateTimeToLocal(DT#2018-07-10-12:00:00.000) | DT#2018-07-10-13:00:00.000 |
Note: The return values are based on the time zone of London, England.
The function SysDateTimeToLocal is an extension to the IEC 61131-3 standard.
To learn about a function to convert a local Date and Time value to UTC.
To learn about a function to return the current date and time.
To learn about other system functions.
To learn about the different types supported by Fernhill SCADA.
To learn about other IEC 61131-3 Common Elements.
For the meaning of terms used in Fernhill SCADA.