The dateThe time.extractHours() method returns API returns the hours portion of a time field or time-stamp.timestamp.
Section | |||||
---|---|---|---|---|---|
|
...
|
...
|
...
|
...
Example
...
|
Examples
...
Code Block | ||
---|---|---|
| ||
pjs.define("time", { type: 'time', initValue: '12:11:12'}) pjs.define("num", { type: "zoned", length: 7, decimals: 2}) num = time.extractHours(1); return num; //2 |
RPG Equivalent
...