Get the number of days in a month