import:: import calendar doc:: calendar


  • .monthrange(year, month): 指定年月的第一天是星期几和当月天数