Skip to content
UniKit

Time unit converter

Convert time units — nanoseconds to centuries — with the conventional month of 30 days and year of 365.25 days clearly stated.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Value

Result

The source to target line first, then every common unit.

Enter a duration to convert

Units: 0

What this tool does

  • Convert TTL and timeout values: 300 seconds in milliseconds, 2 hours in seconds.
  • Normalise days, weeks and months to hours for schedules and Gantt charts.
  • Check the conventions before coding: a month is 30 days and a year 365.25 days (Julian year) in this tool.

Example

Input

1

Output

小时 (h) → 分钟 (min):1 h = 60 min
纳秒 (ns) = 3600000000000 ns
微秒 (µs) = 3600000000 µs
毫秒 (ms) = 3600000 ms
秒 (s) = 3600 s
分钟 (min) = 60 min
小时 (h) = 1 h
天 (d) = 0.041667 d
周 (wk) = 0.005952 wk
月(30 天) (mo) = 0.001389 mo
年(365.25 天) (yr) = 0.000114 yr
年代(10 年) (decade) = 0.000011 decade
世纪(100 年) (century) = 0.000001 century

1 hour = 60 minutes; a month is fixed at 30 days and a year at 365.25 days (Julian year).

Frequently asked questions

How long is a month here?

Fixed at 30 days (2592000 s) and a year at 365.25 days (Julian year, 31557600 s). That is the engineering and astronomy convention; use a date calculator for real calendar differences.

Are nanoseconds and microseconds useful?

Yes — CPU cycles, network RTT and sensor sampling are measured in them. 1 ms = 1000 µs = 1,000,000 ns.

Why ignore leap years?

This is unit conversion, not date arithmetic. Calendar years vary between 365 and 366 days, which would make the factor unstable.

What about precision?

Values are printed with Number(value.toFixed(6)). Most conversions are exact rational numbers; only very large units produce decimals.

Keywords:时间换算time converter秒转毫秒天数换算小时年月换算纳秒世纪单位换算

Related tools