calendar.HTMLCalendar.itermonthdays

HTMLCalendar.itermonthdays(year, month)

Like itermonthdates(), but will yield day numbers. For days outside the specified month the day number is 0.