date_parts | R Documentation |
Format the month or day of week for a date.
format_month(d, abbr = TRUE)
format_wday(d, abbr = TRUE)
d |
A date |
abbr |
Abbreviate the name. |
The name of the month or day of the week.
format_month()
: Format the month
format_wday()
: Format the day of the week
format_month(as.Date("2001-02-25"), FALSE)
format_month(Sys.Date(), TRUE)
format_wday(as.Date("2001-02-25"), FALSE)
format_wday(Sys.Date(), TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.