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