This method adds the number of sconds passed to the date.
Parameters
- Numeric value
Return Value
Date with number of seconds added
Example
Code Block | ||
---|---|---|
| ||
pjs.define("time", { type: 'time', initValue: '12:00:00.0000'});
time = time.addSeconds(10);
return time;
//12:00:10 |