powered by
This checks whether the dates provided are the last day of a month.
dates
is_eom(dates)
a vector of dates.
a logical vector
# NOT RUN { library("lubridate") is_eom(ymd(20110228)) # TRUE is_eom(ymd(20120229)) # TRUE # }
Run the code above in your browser using DataLab