Converts a DATE_AND_TIME value from local time to UTC.
Informal Syntax:
SysDateTimeToUTC( In )
Formal Syntax:
SysDateTimeToUTC( In:=expression )
Parameter | Type | Description |
---|---|---|
In | ANY_DATE | The local date and time value to convert to UTC. |
The return value is the In parameter converted to UTC.
Requires Fernhill SCADA Version 3.71 and later.
Example | Return Value |
---|---|
SysDateTimeToUTC(DT#2018-01-10-12:00:00.000) | DT#2018-07-10-12:00:00.000 |
SysDateTimeToUTC(DT#2018-07-10-12:00:00.000) | DT#2018-07-10-11:00:00.000 |
Note: The return values are based on the time zone of London, England.
The function SysDateTimeToUTC is an extension to the IEC 61131-3 standard.
To learn about a function to convert a UTC Date and Time value to local time.
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.