Table of Contents

DATE_TO_LTOD

Function name

DATE_TO_LTOD

ST call

PROGRAM DATE_TO_LTOD_DEMO
   VAR
           DATE1: DATE; 
       LTOD1: LTOD;
  END_VAR
    LTOD1:=DATE_TO_LTOD(DATE1);
END_PROGRAM

Description

The function brings the input value to the output as a time in a day.

Inputs

InputTypeDescription
in1 DATEInput value

Outputy

OutputTypeDescription
LTODOutput value

Application example