Table of Contents

DATE_TO_DT

Function name

DATE_TO_DT

ST call

PROGRAM DATE_TO_DT_DEMO
     VAR
           DT1: DT; 
       DATE1: DATE;
  END_VAR
    DT1:=DATE_TO_DT(DATE1);
END_PROGRAM

Description

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

Inputs

InputTypeDescription
in1 DATEInput value

Outputy

OutputTypeDescription
DT Output value

Application example