date.extractMilliseconds()
Description
The extractMilliseconds() method returns the milliseconds portion of a time or timestamp value.
Parameters
Length (optional) - Number of digits to keep in the integer portion of the result. If the value has more digits, the leftmost digits are dropped.
Decimals (optional) - Number of decimal positions to keep in the result.
Return Value
The numeric milliseconds value of the time or timestamp.
Example
pjs.define("time", { type: 'timestamp', initValue: '2016-04-01-13.00.00.112000' });
pjs.define("num", { type: 'zoned', length: 9, decimals: 2 });
num = time.extractMilliseconds();
return num;
// 112RPG Equivalent
EXTRCT