Adds the specified number of days to the current DateTime object.
Namespace: MindFusion.Scheduling
File: DateTime.js
JavaScript Copy Code |
---|
function addDays (days) |
Number. The number of days to add.
The following code creates a new task that lasts two hours:
JavaScript Copy Code |
---|
var date = p.DateTime.today(); // create a new item |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |