DT_TO_DATE

Function name
DT_TO_DATE
ST call
PROGRAM DT_TO_DATE_DEMO
VAR
DT1: DT;
DATE1: DATE;
END_VAR
DATE1:=DT_TO_DATE(DT1);
END_PROGRAM
Description
The function brings the input value to the output as a date.
Inputs
| Input | Type | Description |
|---|---|---|
| IN1 | DT | Input value |
Outputy
| Output | Type | Description |
|---|---|---|
| => | DATE | Output value |
Application example
