CONCAT_DATE_TOD
PROGRAM CONCAT_DATE_TOD_DEMO
VAR
DT1: DT;
DATE1: DATE;
TOD1: TOD;
END_VAR
DT1:= CONCAT_DATE_TOD(IN1:=DATE1, IN2:=TOD1);
END_PROGRAM
Links together the input date and time of day values to a single datetime value.
Input | Type | Description |
---|---|---|
IN1 | DATE | Input value, date |
IN2 | TOD | Input value, time of day |
Output | Type | Description |
---|---|---|
=> | DT | Output value, datetime |