...
The date.extractMicroseconds() method returns the microseconds portion in of a timestamp
Parameters
- Length(Optional)
- Decimals(Optional)
Return Value
The number of microseconds in a timestamp
Example
...
Code Block | ||
---|---|---|
| ||
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
EXTRACTEXTRCT