...
Code Block | ||
---|---|---|
| ||
pjs.define("date", { type: 'date', initValue: '2017-12-01'}); pjs.define("num", { type: "zoned", length: 7, decimals: 2}); num = date.getDaysInMonth(); return num; // num is 31 (January has 31 days) |
...
Code Block | ||
---|---|---|
| ||
pjs.define("date", { type: 'date', initValue: '2017-12-01'}); pjs.define("num", { type: "zoned", length: 7, decimals: 2}); num = date.getDaysInMonth(); return num; // num is 31 (January has 31 days) |