info_date_style {gt} | R Documentation |
View a table with info on date styles
Description
fmt_date()
lets us format date-based values in a convenient manner using
preset styles. The table generated by info_date_style()
provides a quick
reference to all styles, with associated format names and example outputs
using a fixed date (2000-02-29
).
Usage
info_date_style(locale = NULL)
Arguments
locale |
Locale identifier
An optional locale identifier that can be used for displaying formatted
date values according the locale's rules. Examples include |
Value
An object of class gt_tbl
.
Examples
Get a table of info on the different date-formatting styles (which are used
by supplying a number code to fmt_date()
).
info_date_style()
Function ID
11-1
Function Introduced
v0.2.0.5
(March 31, 2020)
See Also
Other information functions:
info_currencies()
,
info_flags()
,
info_google_fonts()
,
info_icons()
,
info_locales()
,
info_paletteer()
,
info_time_style()
,
info_unit_conversions()