View source: R/parsedate-package.r
format_iso_8601 | R Documentation |
Format a date in a fixed format that is ISO 8601 valid, and can be used to compare dates as character strings. It converts the date(s) to UTC.
format_iso_8601(date)
date |
The date(s) to format. |
Character vector of formatted dates.
format_iso_8601(parse_iso_8601("2013-02-08")) format_iso_8601(parse_iso_8601("2013-02-08 09:34:00")) format_iso_8601(parse_iso_8601("2013-02-08 09:34:00+01:00")) format_iso_8601(parse_iso_8601("2013-W06-5")) format_iso_8601(parse_iso_8601("2013-039"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.