Versions Compared

Key

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

...

The date.extractMilliseconds() method returns the number milliseconds portion of milliseconds in a datetimestamp.

Parameters
  1. Length(Optional)
  2. Decimals(Optional)

Return Value

The number of millieseconds in a datetimestamp

Example

...


Code Block
languagejavascript
pjs.define("time", { type: 'timetimestamp', initValue: '12:11:12'2016-04-01-13.00.00.112000' })
pjs.define("num", { type: "zoned", length: 79, decimals: 2})  


num = time.extractMilliseconds(7,2);

return num;
//0112

RPG Equivalent

EXTRCT