Date-time must be a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr,
zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.
days_in_month(x)
Arguments
Value
An integer of the number of days in the month component of the date-time object.