Adds the specified number of minutes to the specified DateTime object.
Namespace: MindFusion.Scheduling
Assembly: DateTime.js
SyntaxJavaScript
Copy Code
|
|---|
function addMinutes (date, minutes) |
DateTime. The DateTime instance to modify.
Number. The number of minutes to add.
DateTime. The modified DateTime instance.
ExampleThe 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 |
See Also