View source: R/text_formatting.R
format_date_range | R Documentation |
Format a range of dates.
format_date_range(dates, abbr = TRUE)
format_day_date_range(dates, abbr_month = TRUE, abbr_wday = TRUE)
dates |
A named list or vector of dates with elements |
abbr |
Abbreviate the month. |
abbr_month |
Abbreviate the months. |
abbr_wday |
Abbreviate the days of the week. |
Format a range of dates, using a similar format to
format_class_date()
A formatted date
format_day_date_range()
: Format a range of dates, including day of the week.
format_date_range(list(start = as.Date("2020-02-14"),
stop = as.Date("2020-03-15")))
format_day_date_range(list(start = as.Date("2020-02-14"),
stop = as.Date("2020-03-15")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.