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

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

Parameters

d1
A PgSqlTimeStamp value.
d2
A DateTime value.

Return Value

A new PgSqlInterval structure.
See Also