DT_TO_DATE
PROGRAM DT_TO_DATE_DEMO VAR DT1: DT; DATE1: DATE; END_VAR DATE1:=DT_TO_DATE(DT1); END_PROGRAM
The function brings the input value to the output as a date.
Input | Type | Description |
---|---|---|
IN1 | DT | Input value |
Output | Type | Description |
---|---|---|
⇒ | DATE | Output value |