count_years
Counts the number of years
in a duration.
count_years(x:duration) -> float
Description
Section titled “Description”This function returns the number of years in a duration, i.e.,
duration / 1y
.
x: duration
Section titled “x: duration”The duration to count in.
See Also
Section titled “See Also”count_years
,
count_months
,
count_weeks
,
count_days
,
count_hours
,
count_minutes
,
count_seconds
,
count_milliseconds
,
count_microseconds
,
count_nanoseconds