getEndOfMonth: Compute end-of-month

View source: R/RcppExports.R

getEndOfMonthR Documentation

Compute end-of-month

Description

Compute a vector of dates with end-of-month

Usage

getEndOfMonth(dates, xp = NULL)

Arguments

dates

A Date vector with dates

xp

An optional calendar object, if missing the default instance is used

Details

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.

Value

A Date vector with dates which are end-of-month

Examples

getEndOfMonth(Sys.Date()+0:6)

qlcal documentation built on Feb. 18, 2026, 5:07 p.m.