date.addMilliseconds()
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