Versions Compared

Key

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


Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

The date.extractMilliseconds() method returns the milliseconds portion of a timestamp.

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

Return Value

The number of millieseconds in a timestamp

Example

...


Code Block
languagejavascript
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;
//112

...