Versions Compared

Key

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



Section


Column
width70%

API Overview

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

RPG Equivalent

%MSECONDS()



Section


Column
width25%

Parameters

  • Numeric Value


Column
width25%

Return Value

Date or time with specified number of milliseconds added.


Examples

Code Block
languagejavascript
titleTitle of Example Code
pjs.define("time", { type: 'time', initValue:'12:00:00.0000'});
 
time = time.addMilliseconds(1000);
 
return time;
//12:00:01