Versions Compared

Key

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

Current Day

Return Value

2 digit number with This reserved word returns the current day of the month as a numeric value.

 

Code Block
languagejavascript
/*If the current date is May 8th 2017*/ 
pjs.define("myDay", { type: 'packed decimal', length: 2, decimals: 0 })

myDay = _day;

return myDay;
//08

...