month: Month of a date vector

View source: R/all.R

monthR Documentation

Month of a date vector

Description

Month of a date vector

Usage

month(d)

Arguments

d

a vector of dates

Value

The month part of each value in d as an integer.

Examples

month(as.Date('2022-10-14'))
month(ISOdate(1923, 12, 2))


adamleerich/alrtools documentation built on March 12, 2024, 11:38 p.m.