date.addHours()

date.addHours()



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

Examples


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



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