locale(date_names = "en", date_format = "%Y%.%m%.%d", time_format = "%H:%M", decimal_mark = ".", grouping_mark = NULL, tz = "UTC", encoding = "UTF-8", asciify = FALSE)
default_locale()
date_names_lang
)
or an object created by date_names
.,
or
.
. Use ""
to use the system default time zone, but beware that this
will not be reproducible across systems.
For a complete list of possible time zones, see OlsonNames()
.
Americans, note that "EST" is a Canadian time zone that does not have
DST. It is not Eastern Standard Time. It's better to use
"US/Eastern", "US/Central" etc.
locale()
locale("fr")
# South American locale
locale("es", decimal_mark = ",")
Run the code above in your browser using DataLab