Current Day
Return Value
2 digit number with the current day
Code Block | ||
---|---|---|
| ||
/*If the current date is May 8th 2017*/
pjs.define("myDay", { type: 'packed decimal', length: 2, decimals: 0 })
myDay = _day
return myDay;
//08 |
RPG Equivalent
*DAY
Current Day
Return Value
2 digit number with the current day
Code Block | ||
---|---|---|
| ||
/*If the current date is May 8th 2017*/
pjs.define("myDay", { type: 'packed decimal', length: 2, decimals: 0 })
myDay = _day
return myDay;
//08 |
RPG Equivalent
*DAY