Automation Guide
Action-based testing language
TestArchitect Automation Classes
Engine class methods
The requested page is not available for selected version.
AddYears
Syntax
integer AddYears (integer datevalue, integer years)
Description
Add years to a date.
Parameters
datevalue
A number representing a date.
years
The number of years to add.
Return Value
The resultant date.
Notes
- This function is equivalent to the plusy function as it can be used by the tester in a “#” expression.
- To subtract years, use a negative value for the years parameter.