format_ISO8601_precision_check: Provide a format for ISO8601 dates and times with the...

Description Usage Arguments

View source: R/format_ISO8601.r

Description

Provide a format for ISO8601 dates and times with the requested precision.

Usage

1
format_ISO8601_precision_check(precision, max_precision, usetz = FALSE)

Arguments

precision

The amount of precision to represent with substrings of "ymdhms", as "y"ear, "m"onth, "d"ay, "h"our, "m"inute, and "s"econd. (e.g. "ymdhm" would show precision through minutes. When NULL, max_precision is returned. When precision is more precise than max_precision, a warning is given and max_precision is returned.

max_precision

The maximum precision allowed to be output.

usetz

Include the timezone in the output format


lubridate documentation built on Feb. 26, 2021, 5:09 p.m.