Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

info_date_style

View a table with info on date styles


Description

The fmt_date() function lets us format date-based values in a convenient manner using preset styles. The table generated by the info_date_style() function provides a quick reference to all 14 styles, with associated number codes, the format names, and example outputs using a fixed date (2000-02-29).

Usage

info_date_style()

Value

An object of class gt_tbl.

Figures

Function ID

10-1

See Also

Examples

# Get a table of info on the different
# date-formatting styles (which are used
# by supplying a number code to the
# `fmt_date()` function)
tab_1 <- info_date_style()

gt

Easily Create Presentation-Ready Display Tables

v0.2.2
MIT + file LICENSE
Authors
Richard Iannone [aut, cre] (<https://orcid.org/0000-0003-3925-190X>), Joe Cheng [aut], Barret Schloerke [aut] (<https://orcid.org/0000-0001-9986-114X>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.