fmdates (version 0.1.4)

is_eom: Checks whether dates are last day of month

Description

This checks whether the dates provided are the last day of a month.

Usage

is_eom(dates)

Arguments

dates

a vector of dates.

Value

a logical vector

Examples

Run this code
# NOT RUN {
library("lubridate")
is_eom(ymd(20110228)) # TRUE
is_eom(ymd(20120229)) # TRUE
# }

Run the code above in your browser using DataCamp Workspace