DT_TO_DATE

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.

InputTypeDescription
IN1 DT Input value
OutputTypeDescription
DATEOutput value

  • © Energocentrum Plus, s.r.o. 2017 - 2024