end_of_month: Gets the last day of the month of a date in the format...

View source: R/uncategorized_tools.R

end_of_monthR Documentation

Gets the last day of the month of a date in the format YYYY-MM-DD

Description

Gets the last day of the month of a date in the format YYYY-MM-DD

Usage

end_of_month(date, tz = "CET")

Arguments

date

you'll want to get the last month

tz

The time zone indicator, which has a default for the Central European time zone

Examples

end_of_month(as.Date('2018-10-09'), tz = "GMT")

mark-me/graydon.package documentation built on Nov. 14, 2023, 5:31 p.m.