DATETOTALMILLISECONDS

DATETOTALMILLISECONDS

PROGRAM DATETOTALMILLISECONDS_DEMO
 VAR
     DT1: DT;
        LR1:LREAL;
  END_VAR
 LR1 := DATETOTALMILLISECONDS(IN1 := DT1);
END_PROGRAM

Returns number of miliseconds since the beginning of our era (since 1.1. 0000, 00:00) for a particular date and time.

InputType Description
IN1 ANY_DATEInput value
OutputType Description
LREALOutput value

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