Versions Compared

Key

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

The date.extractDay() method returns the day portion of a date or time-stamptimestamp

Parameters
  1. Length(Optional)
  2. Decimals(Optional)

Return Value

The number of days in a date or time-stamptimestamp

Example

 

Code Block
languagejavascript
pjs.define("date", { type: 'date', initValue: '2017-01-25'})
pjs.define("num", { type: "zoned", length: 7, decimals: 2}) 
  
num = date.extractDay();


return num;
//25

...