dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Time Structure / Subtract Method
The minuend DB2TimeStamp structure.
The subtrahend DB2TimeStamp structure.

In This Topic
    Subtract Method (DB2Time)
    In This Topic
    Returns the difference between the first and second DB2TimeStamp arguments as a DB2Time structure.
    Syntax
    'Declaration
     
    Public Shared Function Subtract( _
       ByVal x As DB2Time, _
       ByVal y As DB2Time _
    ) As DB2Time
    public static DB2Time Subtract( 
       DB2Time x,
       DB2Time y
    )

    Parameters

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

    Return Value

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