CONCAT_DATE_TOD

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.

InputTypeDescription
IN1 DATEInput value, date
IN2 TOD Input value, time of day
OutputTypeDescription
DT Output value, datetime

  • © Energocentrum Plus, s.r.o. 2017 - 2024