Find the first day of the month for a given date
first_day.Rd
Find the first day of the month for a given date
Examples
date <- as.Date("2020-12-28")
first_day(date)
#> [1] "2020-12-01"
first_day.Rd
Find the first day of the month for a given date
date <- as.Date("2020-12-28")
first_day(date)
#> [1] "2020-12-01"