Time Duration Converter
Convert durations from milliseconds up to standard 365-day years.
How the Time Converter works
Durations are converted through the second. Days are fixed at 86,400 seconds and years at a standard 365 days, which suits timeouts, TTLs, SLAs and billing calculations.
For calendar-aware differences between two real dates, including leap years and month lengths, use the Date Calculator instead.
Formulas used
- General
target = value × seconds(from) ÷ seconds(to)- Hours to seconds
s = h × 3,600
How to use the Time Converter in 3 steps
Step 1
Select the duration unit you have and the one you want.
Step 2
Enter a value in either field to convert both ways.
Step 3
Copy a result for use in configs, cron schedules or invoices.
Frequently asked questions
How many seconds are in a day?
86,400 seconds: 24 hours × 60 minutes × 60 seconds.
How many milliseconds are in an hour?
3,600,000 milliseconds, which is a common value for one-hour cache or token lifetimes.