powered by
Return the first day of the month for each date in `dates`
first_of_month(dates)
A sequence of dates in `as.Date()` format
First day of the month
# NOT RUN { dates <- seq.Date(from = as.Date("2020-09-11"), by = "day", length.out = 10) first_of_month(dates) # }
Run the code above in your browser using DataLab