Subtraction (Date)

This function block subtracts a date from another date. The output value is a duration of the data type TIME.

If the input value IN2 is greater than the input value IN1, the output is always 0.


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