Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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

Section


Column
width50%

Parameters


  • Numeric Value


Column
width25%

Return Value


Date or time with specified number of minutes added.


Column
width25%

RPG Equivalent


%MINUTES()


Examples

...

Code Block
languagejavascript
pjs.define("time", { type: 'time',initValue: '12:00:00.0000'});

time = time.addMinutes(10);


return time;
//12:10:00