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

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

Parameters

x
A PgSqlTime structure to subtract from.
t
A System.TimeSpan value to subtract.

Return Value

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