View source: R/parse_dttm_fmt.R
| parse_dttm_fmt_ | R Documentation |
parse_dttm_fmt() parses a date/time formats, meaning it will try to parse
the components of the format fmt that refer to date/time components.
parse_dttm_fmt_() is similar to parse_dttm_fmt() but is not vectorized
over fmt.
parse_dttm_fmt_(fmt, pattern)
parse_dttm_fmt(fmt, patterns = fmt_cmp())
fmt |
A format string (scalar) to be parsed by |
pattern, patterns |
A string (in the case of |
A tibble of seven columns:
fmt_c: date/time format component. Values are either "year", "mon",
"mday", "hour", "min", "sec", or NA.
pat: Regexp used to parse the date/time component.
cap: The captured substring from the format.
start: Start position in the format string for this capture.
end: End position in the format string for this capture.
len: Length of the capture (number of chars).
ord: Ordinal of this date/time component in the format string.
Each row is for either a date/time format component or a "delimiter" string or pattern in-between format components.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.