Table of Contents

LDT_TO_DATE

Function name

LDT_TO_DATE

ST call

PROGRAM LDT_TO_DATE_DEMO
    VAR
           DATE1: DATE; 
       LDT1: LTD;
    END_VAR
    DATE1:=LDT_TO_DATE(LDT1);
END_PROGRAM

Description

The function brings the input value to the output as a date.

Inputs

InputTypeDescription
in1 LDT Input value

Outputy

OutputTypeDescription
DATEOutput value

Application example