date_format | R Documentation |
Converts Date objects into a common format used for every Date object throughout the package.
date_format(date)
date |
a Date object. |
To limit the scope of the changes to LC_TIME and the timezone, a temporary
locale modification is made using the withr
package.
A "%Y-%m-%d" formatted Date object with respect to a fixed locale and time zone, i.e. setting the LC_TIME component to C and timezone to UTC (the safest choice, non-geographic and Coordinated Universal Time).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.