DATE_TO_DT

DATE_TO_DT

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

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

InputTypeDescription
in1 DATEInput value
OutputTypeDescription
DT Output value

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