Get the days in a month from a date string.

days_in_month(dates)

Arguments

dates

Vector of strings with dates.

Value

Numeric vector with the dates in each month linked to each date.