month: Extract the month from a date

View source: R/DbiDateFunctions.R

monthR Documentation

Extract the month from a date

Description

This function is provided primarily to be used together with dbplyr when querying a database. It will also work in dplyr against data frames.

Usage

month(date)

Arguments

date

The date.

Value

The month

Examples

month(as.Date("2000-02-01"))


DatabaseConnector documentation built on Nov. 8, 2023, 5:07 p.m.