str_date | R Documentation |
Output a datestamp.
str_date(format = "%Y-%m-%d", date = Sys.Date(), ...)
str_datestamp(format = "%Y%m%d", date = Sys.Date(), ...)
format |
see |
date |
defaults to |
... |
passed to |
str_date()
defaults to YYYY-mm-dd
(ISO 9601), while str_datestamp()
defaults to a more concise YYYYmmdd
. You can override either one.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.