Adds the specified number of years to the specified DateTime object.
Namespace: MindFusion.Scheduling
File: DateTime.js
JavaScript Copy Code |
---|
function addYears (date, years) |
DateTime. The DateTime instance to modify.
Number. The number of years to add.
DateTime. The modified DateTime instance.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |