lubridate (version 1.7.9.2)

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

Description

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

Usage

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