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 May 29, 2024, 6:14 a.m.