date.addSeconds()

date.addSeconds()



The time.addSeconds() API adds the number of seconds that are passed to the date or time.

Examples


pjs.define("time", { type: 'time', initValue: '12:00:00'}); time = time.addSeconds(10); return time; //12:00:10



Looking for labels? They can now be found in the details panel on the floating action bar.