Adds the specified number of years to the specified DateTime object.
Namespace: MindFusion.Scheduling
File: DateTime.js
SyntaxJavaScript
Copy Code
|
|---|
function addYears (date, years) |
DateTime. The DateTime instance to modify.
Number. The number of years to add.
DateTime. The modified DateTime instance.
See Also