Documentation

DATE_TO_LDATE

Function name

DATE_TO_LDATE

ST call

PROGRAM DATE_TO_LDATE_DEMO
VAR
LDATE1: LDATE;
DATE1: DATE;
END_VAR
LDATE1:=DATE_TO_LDATE(DATE1);
END_PROGRAM

Description

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

Inputs

Input Type Description
in1 DATE Input value

Outputy

Output Type Description
=> LDATE Output value

Application example