View source: R/strings_utils.R
formatdate | R Documentation |
Formats date.
formatdate(
x,
iso = FALSE,
tryFormats = c("%m/%d/%Y %I:%M:%S %p", "%d/%m/%Y %H:%M:%S",
"%Y:%m:%d %H:%M:%S", "%Y-%m-%dT%H:%M:%SZ"),
tz = "UTC"
)
x |
a string. |
iso |
whether returned value should be ISO8601. Default is |
tryFormats |
format to try. See |
tz |
time zone name. See |
formatted date
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.