powered by
duration_precision() extracts the precision from a duration object. It returns the precision as a single string.
duration_precision()
duration_precision(x)
A single string holding the precision of the duration.
[clock_duration]
A duration.
duration_precision(duration_seconds(1)) duration_precision(duration_nanoseconds(2)) duration_precision(duration_quarters(1:5))
Run the code above in your browser using DataLab