dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Time Structure / Subtraction Operator
The minuend DB2Time structure.
The subtrahend DB2Time structure.

Subtraction Operator (DB2Time)
Returns the difference between the first and second DB2Time arguments as a DB2Time structure.
Syntax
'Declaration
 
Public Operator -( _
   ByVal x As DB2Time, _
   ByVal y As DB2Time _
) As DB2Time
 

Parameters

x
The minuend DB2Time structure.
y
The subtrahend DB2Time structure.

Return Value

The difference between the first and second DB2Time arguments as a DB2Time structure.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also