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.
    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