Return the end date of the month of the given date
Arguments
- date
a date with a date format.
Value
a vector of dates, giving the last day of the month.
See also
Other date functions:
calculate_stay(),
compute_mid_year_age(),
convert_date_to_numeric(),
convert_numeric_to_date(),
end_fy(),
end_fy_quarter(),
end_next_fy_quarter(),
fy_interval(),
is_date_in_fyyear(),
midpoint_fy(),
next_fy(),
start_fy(),
start_fy_quarter(),
start_next_fy_quarter()
Examples
last_date_month(Sys.Date())
#> [1] "2025-11-30"