Convert To Seconds documentation

Turn calendar-style durations into a total seconds value you can copy into TTLs, delays, and timeout settings without doing the math by hand.

Overview

Use it when the format needs to change, not the meaning

This guide is intentionally short because the tool has one main job: take years, months, days, hours, minutes, and seconds, then return a total seconds value plus a quick breakdown for checking.

TTL planning

Work out cache, session, or retry values from a human-readable duration before you paste the final seconds elsewhere.

Delay settings

Turn maintenance windows, cooldowns, or queue delays into a single number without manual conversion mistakes.

Supported inputs

Bring clean source text and keep the direction straight

  • Fill any combination of Years, Months, Days, Hours, Minutes, and Seconds. Blank fields behave like zero.
  • Use whole numbers for each unit so the total remains predictable.
  • Quick samples are useful when you want a common starting point before adjusting one or two units.

Walk through it

Follow the same sequence you see in the tool

Workflow

Calculate total seconds

Use the main form when you know the duration in calendar units and need the final seconds value.

  1. Enter the duration in the fields you need and leave the rest blank.
  2. Optionally load a sample, then adjust the values to match your exact duration.
  3. Click Convert to seconds.
  4. Copy the total seconds after you confirm the breakdown still matches what you intended.

What you get

Check the result before you copy it into the next step

Total seconds

The primary result is the single numeric value you can paste into the next setting or workflow.

Breakdown summary

The summary helps you catch mistakes by restating the duration in readable form before you copy the number.

Avoid these mistakes

Small input problems create the biggest conversion errors

Mixing up units

A value entered in the wrong field can change the total dramatically, so double-check whether it belongs in minutes, hours, or days.

Copying too early

Use the breakdown as a quick sanity check first, especially when the value will control expiry, retry, or scheduling behavior.

Need a different utility? Browse the documentation hub for the rest of the published guides.
Last updated March 23, 2026