dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp Structure / Subtract Method / Subtract(PgSqlTimeStamp,DateTime) Method
A PgSqlTimeStamp value to subtract from.
A DateTime value to subtract.

In This Topic
    Subtract(PgSqlTimeStamp,DateTime) Method
    In This Topic
    Subtracts a DateTime value from a PgSqlTimeStamp value.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Subtract( _
       ByVal x As PgSqlTimeStamp, _
       ByVal y As Date _
    ) As PgSqlInterval
    public static PgSqlInterval Subtract( 
       PgSqlTimeStamp x,
       DateTime y
    )

    Parameters

    x
    A PgSqlTimeStamp value to subtract from.
    y
    A DateTime value to subtract.

    Return Value

    The PgSqlInterval structure that represents the result of the subtract operation.
    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