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