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

Subtract(PgSqlTimeStamp,PgSqlTimeStamp) Method
Subtracts a PgSqlTimeStamp value from another PgSqlTimeStamp value.
Syntax
'Declaration
 
Public Overloads Shared Function Subtract( _
   ByVal x As PgSqlTimeStamp, _
   ByVal y As PgSqlTimeStamp _
) As PgSqlInterval
 

Parameters

x
A PgSqlTimeStamp value to subtract from.
y
A PgSqlTimeStamp 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