Time Converter

Convert between different time units including seconds, minutes, hours, days, weeks, months, and years.

Time Converter
ready
$ convert --from [unit] --to [unit] --value [number]
$
>
formulas.ts

// Common Time Converter Formulas

1const1 minute = 60 seconds
2const1 hour = 60 minutes = 3600 seconds
3const1 day = 24 hours = 86400 seconds
4const1 week = 7 days
5const1 year ≈ 365.25 days
references.json

// Common Time Converter References

{
"Human Heartbeat":"~1 second",
"Average Movie Length":"90-150 min",
"Standard Workday":"8 hours",
"Weekend":"2 days",
"Typical Vacation":"1-2 weeks",
"Average Human Lifetime":"~75 years"
}
guide.md

Time units and calendar caveats

Seconds, minutes, hours, and days follow fixed ratios in everyday conversion: 60, 60, and 24. Longer units get messy. Months and years vary with the calendar, so a converter that treats “1 month = 30 days” or “1 year = 365 days” is using a convention, not a physical constant.

method.ts

Rules on this page

  1. Convert durations through seconds for minute/hour/day/week math.
  2. For month and year options, use explicit average or calendar conventions stated in the tool labels—not astronomical orbital periods unless labeled.
  3. Milliseconds and microseconds scale by powers of 1,000 from the second.
sources.md

Sources

  • - SI Brochure: second as SI base unit of time.
  • - ISO 8601: calendar date and duration representations (for context on civil time).
examples.md

Worked examples

Project estimate: 3.5 days to hours

  1. 1 day = 24 hours.
  2. 3.5 × 24 = 84 hours.

Result: 3.5 days = 84 hours

Benchmark: 2,500 ms to seconds

  1. 1 s = 1000 ms, so 2500 / 1000 = 2.5 s.

Result: 2500 ms = 2.5 s

Where approximations break

  • Leap years add a day; leap seconds rarely adjust civil clocks—ignore them for most converters.
  • “Business days” exclude weekends and holidays; this tool converts continuous duration only.
  • Months of 28–31 days make “add one month” a calendar operation, not a fixed-second add.

Typical uses

  • - Turning sprint estimates into hours.
  • - Converting video or audio media lengths.
  • - Understanding SLA downtimes written in minutes vs hours.
FAQ.md

Time FAQ

01 Q: How many seconds are in a day?

86,400 seconds in a standard civil day (24 × 60 × 60), ignoring leap seconds.

02 Q: Why is a year sometimes 365.25 days?

That approximates the average length of a Gregorian year including leap days. Exact civil years are 365 or 366 days.