Documentation

CONCAT_DATE_TOD

Function name

CONCAT_DATE_TOD

ST call

PROGRAM CONCAT_DATE_TOD_DEMO
VAR
DT1: DT;
DATE1: DATE;
TOD1: TOD;
END_VAR
DT1:= CONCAT_DATE_TOD(IN1:=DATE1, IN2:=TOD1);
END_PROGRAM

Description

Links together the input date and time of day values to a single datetime value.

Inputs

Input Type Description
IN1 DATE Input value, date
IN2 TOD Input value, time of day

Outputs

Output Type Description
=> DT Output value, datetime

Application example