date.addSeconds()
Description
The addSeconds() method adds the specified number of seconds to a time or timestamp value and returns the result.
Parameters
Numeric value - The number of seconds to add.
Return Value
A time or timestamp with the specified number of seconds added.
Example
pjs.define("time", { type: 'time', initValue: '12:00:00' });
time = time.addSeconds(10);
return time;
// 12:00:10RPG Equivalent
%SECONDS()