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

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

Parameters

x
A PgSqlTimeStamp structure to subtract from.
t
A PgSqlInterval value to subtract.

Return Value

The new PgSqlTimeStamp 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