R: Precision: time point

time_point_precision {clock} | R Documentation

## Precision: time point

### Description

`time_point_precision()` extracts the precision from a time point, such as a sys-time or naive-time. It returns the precision as a single string.

### Usage

    time_point_precision(x)

### Arguments

`x` | `[clock_time_point]` A time point.

### Value

A single string holding the precision of the time point.

### Examples

    time_point_precision(sys_time_now())
    time_point_precision(as_naive_time(duration_days(1)))

[Package clock version 0.4.1 Index]