eoMonth: Return the end of the month

View source: R/DbiDateFunctions.R

eoMonthR Documentation

Return the end of the month

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

eoMonth(date)

Arguments

date

A date in the month for which we need the end.

Value

The date of the last day of the month.

Examples

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


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