dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp Structure / Subtraction Operator / Subtraction(PgSqlTimeStamp,PgSqlTimeStamp) Operator
A PgSqlTimeStamp value.
A PgSqlTimeStamp value.

In This Topic
    Subtraction(PgSqlTimeStamp,PgSqlTimeStamp) Operator
    In This Topic
    Subtracts the specified PgSqlTimeStamp value from another PgSqlTimeStamp value and returns a new PgSqlInterval value.
    Syntax
    'Declaration
     
    Overloads Public Operator -( _
       ByVal d1 As PgSqlTimeStamp, _
       ByVal d2 As PgSqlTimeStamp _
    ) As PgSqlInterval
    public PgSqlInterval operator -( 
       PgSqlTimeStamp d1,
       PgSqlTimeStamp d2
    )

    Parameters

    d1
    A PgSqlTimeStamp value.
    d2
    A PgSqlTimeStamp value.

    Return Value

    A new PgSqlInterval 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