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

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

    Parameters

    x
    The minuend DB2Date structure.
    y
    The subtrahend DB2Date structure.

    Return Value

    The difference between the first and second DB2Date arguments as a DB2Time structure.
    See Also