Search
DateTime.op_Subtraction Method
See Also
 






Subtracts a specified date and time from another specified date and time and returns a time interval.

Namespace: com.mindfusion.common
File: com.mindfusion.common

 Syntax

Java  Copy Code

public static Duration op_Subtraction (
    DateTime d1,
    DateTime d2
)

 Parameters

d1

A DateTime (the minuend).

d2

A DateTime (the subtrahend).

 Return Value

A Duration that is the time interval between d1 and d2; that is, d1 minus d2.

 See Also