isEndOfMonth {qlcal} | R Documentation |
Test a vector of dates for end-of-month
isEndOfMonth(dates)
dates |
A Date vector with dates to be examined |
This function takes a vector of dates and returns a logical vector of the same length indicating at each position whether the corresponding date is at the end of a month in the currently active (global) calendar.
A logical vector indicating which dates are end-of-month
isEndOfMonth(Sys.Date()+0:6)