powered by
Compute a vector of dates with end-of-month
getEndOfMonth(dates)
A Date vector with dates which are end-of-month
A Date vector with dates
This function takes a vector of dates and returns another vector of dates of the same length returning at each position whether the corresponding end-of-month date in the currently active (global) calendar.
getEndOfMonth(Sys.Date()+0:6)
Run the code above in your browser using DataLab