Return weekday of first day of month (0-6 ~ Mon-Sun) and number of days (28-31) for year, month.
calendar/monthrange
monthrange