Skip to contents

Return the end date of the month of the given date

Usage

last_date_month(date)

Arguments

date

a date with a date format.

Value

a vector of dates, giving the last day of the month.

Examples

last_date_month(Sys.Date())
#> [1] "2025-01-31"