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

« Previous Version 6 Next »

The date.extractMicroseconds() method returns the microseconds portion of a timestamp

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

Return Value

The number of microseconds in a 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.extractMicroseconds();

return num;
//112000

RPG Equivalent

EXTRCT

  • No labels