The getMonth() method returns the month of this DayPilot.Date Class instance.
DayPilot.Date.getMonth()
Returns a zero-based month number from 0 to 11.
0
11
const month = DayPilot.Date.today().getMonth();
DayPilot.Date Class
Availability of this API item in DayPilot editions: