Documentation

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

Input Type Description
in1 DATE Input value

Outputy

Output Type Description
=> DT Output value

Application example