pretty_print_date | R Documentation |
Format dates according to the conventions of several languages.
pretty_print_date(x, locale = c("en_GB", "en_US", "hu_HU"))
x |
a date-time object |
locale |
Language to use. |
Currently only UK and US English, and Hungarian are supported.
locales <- c("en_GB", "en_US", "hu_HU")
sapply(locales, function(x) pretty_print_date(Sys.Date(), x))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.