Table of Contents

LDATE_TO_DATE

Function name

LDATE_TO_DATE

ST call

PROGRAM LDATE_TO_DATE_DEMO
    VAR
        LDATE1: LDATE;
        DATE1: DATE;
    END_VAR
 
    DATE1:=LDATE_TO_DATE(LDATE1);
END_PROGRAM

Description

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

Inputs

InputType Description
IN1 LDATEInput value

Outputy

OutputTypeDescription
DATEOutput value

Application example