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

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

Parameters

x
The minuend DB2TimeStamp structure.
y
The subtrahend DB2TimeStamp structure.

Return Value

The difference between the first and second DB2TimeStamp 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