Skip to content
Legacy docs for Tenzir v5.x. For the latest Tenzir v6 series, visit docs.tenzir.com. Migrating from v5? Read the Tenzir v6 migration guide.

Counts the number of seconds in a duration.

count_seconds(x:duration) -> float

This function returns the number of seconds in a duration, i.e., duration / 1s.

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

Last updated: