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

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

    Parameters

    years
    The specified number of years.

    Return Value

    A new PgSqlTimeStamp structure.
    See Also