Subtraction Date&time

This function block subtracts a time value of data type Date&Time from another value of the same type. The output value is a time duration of the date type TIME.

If the input value IN2 is greater than the input value IN1, the output is always 0. This is also the case if the result would exceed the maximum of a TIME duration (49 d 17 h 2 min 47 sec und 295 ms).

Signals

Name I/O Type(s) Function
IN1 I DT Date & time 1
IN2 I DT Date & time 2
OUT O TIME Calculated duration