days_in_month: Get the number of days in the month of a date-time.

Description Usage Arguments Value

View source: R/accessors-month.r View source: R/accessors-month.r

Description

Date-time must be a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, and fts objects.

Usage

1

Arguments

x

a date-time object

Value

An integer of the number of days in the month component of the date-time object.


lubridate documentation built on May 30, 2017, 2:10 a.m.

Search within the lubridate package
Search all R packages, documentation and source code