Convert to UTC time
Function name
CONVERTTOUTCTIME
ST call
PROGRAM CONVERTTOUTCTIME_DEMO VAR TIME_OUT: DT; END_VAR TIME_OUT:=CONVERTTOUTCTIME(T:=GETLOCALTIME()); END_PROGRAM
Description
The block converts local time and date (according to time zone) to UTC.
Inputs
| Input | Type | Description |
| T | DT | Local date and time |
Outputs
| Output | Type | Description |
| ⇒ | DT | UTC date and time |

