The time.addMinutes() API adds the number of minutes that are passed to the date or time.
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Examples
Code Block | ||
---|---|---|
| ||
pjs.define("time", { type: 'time',initValue: '12:00:00.0000'}); time = time.addMinutes(10); return time; //12:10:00 |
The time.addMinutes() API adds the number of minutes that are passed to the date or time.
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
pjs.define("time", { type: 'time',initValue: '12:00:00.0000'}); time = time.addMinutes(10); return time; //12:10:00 |