Versions Compared

Key

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


This reserved word returns the current month as a numeric value.

Example

Code Block
languagejavascript
pjs.define("myMonth", { type: 'packed decimal', length: 2, decimals: 0 })

myMonth = _month;
 
// If the current date is May 8th, 2018, myMonth will hold the value 5


RPG Equivalent

*MONTH