...
The date.extractMinutes() method returns the number minutes portion of minutes in a datea time variable or timestamp
Parameters
- Length(Optional)
- Decimals(Optional)
Return Value
The number of minutes in a datetime variable or timestamp
Example
Code Block | ||
---|---|---|
| ||
pjs.define("time", { type: 'time', initValue: '12:11:12'}) pjs.define("num", { type: "zoned", length: 7, decimals: 2}) num = time.extractMinutes(7,2); return num; //11 |
RPG Equivalent
EXTRCT