View source: R/dtc_create_iso8601.R
format_iso8601 | R Documentation |
format_iso8601()
takes a character matrix of date/time components and
converts each component to ISO8601 format. In practice this entails
converting years to a four digit number, and month, day, hours, minutes and
seconds to two-digit numbers. Not available (NA
) components are converted
to "-"
.
format_iso8601(m, .cutoff_2000 = 68L)
m |
A character matrix of date/time components. It must have six
named columns: |
.cutoff_2000 |
An integer value. Two-digit years smaller or equal to
|
A character vector with date-times following the ISO8601 format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.