zoned_time_precision: Precision: zoned-time

View source: R/zoned-time.R

zoned_time_precisionR Documentation

Precision: zoned-time

Description

zoned_time_precision() extracts the precision from a zoned-time. It returns the precision as a single string.

Usage

zoned_time_precision(x)

Arguments

x

⁠[clock_zoned_time]⁠

A zoned-time.

Value

A single string holding the precision of the zoned-time.

Examples

zoned_time_precision(zoned_time_now("America/New_York"))

clock documentation built on Sept. 11, 2024, 8:39 p.m.