XDate.addYears

Adds years to the specified XDate object.

Method of XDate

Syntax

addYears( yearsValue )

Parameters

Parameter Description
yearsValue An integer representing the number of days to add.

Description

XDate object is incremented by yearsValue.

Examples

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.