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

View source: R/format_ISO8601.r

format_ISO8601_precision_checkR Documentation

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, full precision for the object is shown.

max_precision

The maximum precision allowed to be output.

usetz

Include the time zone in the formatting. If usetz is TRUE, the time zone is included. If usetz is "Z", the time is converted to "UTC" and the time zone is indicated with "Z" ISO8601 notation.


lubridate documentation built on Sept. 27, 2023, 5:07 p.m.