Adds the specified number of minutes to the specified DateTime object.
Namespace: MindFusion.Scheduling
File: DateTime.js
JavaScript Copy Code |
---|
function addMinutes (date, minutes) |
DateTime. The DateTime instance to modify.
Number. The number of minutes to add.
DateTime. The modified DateTime instance.
The following code creates a new task that starts two minutes after the value of today:
JavaScript Copy Code |
---|
var date = p.DateTime.today(); // create a new item |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |