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