Table of Contents

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

InputTypeDescription
IN1 DT Input value

Outputy

OutputTypeDescription
DATEOutput value

Application example