Skip to content

count_days

Counts the number of days in a duration.

count_days(x:duration) -> float

This function returns the number of days in a duration, i.e., duration / 1d.

The duration to count in.

count_years, count_months, count_weeks, count_days, count_hours, count_minutes, count_seconds, count_milliseconds, count_microseconds, count_nanoseconds