Learn R Programming

DatabaseConnector (version 6.3.3)

eoMonth: 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)

Value

The date of the last day of the month.

Arguments

date

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

Examples

Run this code
eoMonth(as.Date("2000-02-01"))

Run the code above in your browser using DataLab