Understanding time units
Here a day is exactly 24 hours and a week exactly seven days. Months and years use the Gregorian average of 365.2425 days per year; they do not represent a particular calendar interval or daylight-saving transition.
Conversion method
For linear units, multiply the input by its factor to the base unit, then divide by the target factor. The table lists definitions where exact and approximate constants where applicable.
| Unit | 1 unit in base units | Definition |
|---|---|---|
| Nanosecond (ns) | 1.00000000e-9 | Exact definition; display may be rounded |
| Microsecond (µs) | 0.000001 | Exact definition; display may be rounded |
| Millisecond (ms) | 0.001 | Exact definition; display may be rounded |
| Second (s) | 1 | Exact definition; display may be rounded |
| Minute (min) | 60 | Exact definition; display may be rounded |
| Hour (h) | 3,600 | Exact definition; display may be rounded |
| Day (d) | 86,400 | Exact definition; display may be rounded |
| Week (wk) | 604,800 | Exact definition; display may be rounded |
| Month (average) (mo) | 2,629,746 | Approximate / conventional value |
| Year (average) (yr) | 31,556,952 | Approximate / conventional value |
Worked example and common conversions
10 h = 600 min. Keep full precision during conversion, then round the final result to the precision of your measurement.
| From | To |
|---|---|
| 10 h | 600 min |
| 10 d | 240 h |
| 10 wk | 70 d |
| 10 yr | 3,652.425 d |
| 10 min | 600 s |
| 10 ms | 0.01 s |