_year



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

Example

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

*YEAR