Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

API Overview

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

RPG Equivalent

%MSECONDS()

Parameters

  • Numeric Value

Return Value

Date or time with specified number of milliseconds added.

Examples

Title of Example Code
pjs.define("time", { type: 'time', initValue:'12:00:00.0000'});
 
time = time.addMilliseconds(1000);
 
return time;
//12:00:01
  • No labels