The getMonth() method returns the month of this DayPilot.Date Class instance.
Declaration
DayPilot.Date.getMonth()Return Value
Returns a zero-based month number from 0 to 11.
Example
const month = DayPilot.Date.today().getMonth();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot