The time part is extracted from an ISO 8601 date/time variable. By default, partial or missing times are set to NA, and seconds are ignored and not extracted.
dtc_timepart(dtc, partial_as_na = TRUE, ignore_seconds = TRUE)Character vector containing ISO 8601 times.
Character vector containing ISO 8601 date/times.
Logical TRUE or FALSE indicating whether
partial times should be set to NA (default is TRUE).
Logical TRUE or FALSE indicating whether
seconds should be ignored (default is TRUE).