...
The date.extractMicroseconds() method returns the number microseconds portion of microseconds in a datetimestamp
Parameters
- Length(Optional)
- Decimals(Optional)
Return Value
The number of microseconds in a datetimestamp
Example
...
Code Block | ||
---|---|---|
| ||
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.extractMicroseconds(); return num; //0112000 |
RPG Equivalent
EXTRCT