dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp Structure / AddYears Method
The specified number of years.

AddYears Method
Adds the specified number of years to the current PgSqlTimeStamp instance.
Syntax
'Declaration
 
Public Function AddYears( _
   ByVal years As Integer _
) As PgSqlTimeStamp
 

Parameters

years
The specified number of years.

Return Value

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