Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width50%

Parameters


  • Numeric Value
Column
width25%

Return Value


Numeric day value of a date or timestamp.

Column
width25%

RPG Equivalent


EXTRCT

Examples

...

Code Block
languagejavascript
pjs.define("date", { type: 'date', initValue: '2017-01-25'});
pjs.define("num", { type: "zoned", length: 7, decimals: 2});
  
num = date.extractDay();

return num;
// 25

...