Current job date returned as a number in MMDDYY format.
This reserved word returns the current job or session date as an 8 digit number in MMDDYYYY format.
Example
Code Block | ||
---|---|---|
| ||
pjs.define("myDate", { type: 'packed decimal', length: 8, decimals: 0 })
myDate = udate;
// If the session started on May 8th, 2018, myDate will hold the value 5082018 |
RPG Equivalent
UDATE