Page tree
Skip to end of metadata
Go to start of metadata

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


pjs.define("myYear", { type: 'packed decimal', length: 4, decimals: 0 })
myYear = _year; 

// If the current date is May 8th, 2018, myYear will hold the value 2018

RPG Equivalent


  • No labels