Table of Contents

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

InputTypeDescription
in1 DATEInput value

Outputy

OutputType Description
LDATEOutput value

Application example