A vector created with defined() with underlying type
POSIXct.
tz
a character string. The time zone specification to be used for
the conversion, if one is required. System-specific timezones
(see base::timezones(),
but "" is the current time zone, and "GMT" is UTC (Universal Time,
Coordinated). Invalid values are most commonly treated as UTC, on
some platforms with a warning.
strip_attributes
Logical; should semantic metadata attributes
(label, unit, definition, namespace) be removed? Defaults to
FALSE.
Use strip_attributes = TRUE when flattening or preparing data for
external pipelines, but keep the default when working with defined
vectors directly.
Base R's as.POSIXct() also works, as it dispatches to this method via
S3. Using this method directly is preferred when metadata preservation
matters.