Utility

Time Unit Converter

Convert between seconds, minutes, hours, days, weeks, months and years, with the ambiguities that make some of those unreliable.

Last reviewed by the Radiatus Cloud team

Need this done properly for your business?

Radiatus delivers secure cloud, DevOps & compliance engineering.

Book a free consult

Some units are exact and some are not

Seconds, minutes, hours, days and weeks convert exactly: 60, 60, 24 and 7. Months and years do not. A month is 28 to 31 days and a year is 365 or 366, so any conversion involving them is an approximation unless anchored to specific dates. Tools that quote a month as exactly 30 days are making an assumption they rarely state, and it accumulates: twelve 30-day months is 360 days, five days short of a year.

The second is the only defined one

Since 1967 the second has been defined by caesium-133 atomic transitions, not by dividing a day. That matters because the Earth's rotation is not perfectly regular: it fluctuates and has been very gradually slowing. Every other time unit is defined in terms of the second, not the other way round.

Leap seconds and the mess they cause

Because Earth's rotation drifts against atomic time, leap seconds have occasionally been inserted to keep them aligned, producing a minute with 61 seconds. Systems handle this inconsistently, and leap seconds have caused real outages at large internet companies. Unix time deliberately ignores them by repeating a value rather than incrementing, which means Unix timestamps are not a true count of elapsed SI seconds. A decision has been taken to stop inserting leap seconds by 2035.

Not every day is 24 hours

Where daylight saving applies, one day each year has 23 hours and another has 25. Date arithmetic that adds 86,400 seconds to get tomorrow lands an hour out twice a year, which is a common and hard-to-reproduce bug. Adding one calendar day and adding 24 hours are different operations, and the difference only shows up on two dates.

Working time is its own unit

Business days, working hours and man-days are conventions rather than measurements. A working month is commonly 21 or 22 days, a working year 240 to 260 depending on the jurisdiction and holidays. Any conversion involving them needs the convention stated, because the figures differ by several percent between organisations.

Related tools

  • User Agent Parser — Parse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
  • QR Code Generator — Generate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
  • Credit Card Validator — Validate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.
  • Text Case Converter — Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and sentence case. Runs entirely in your browser.

Frequently Asked Questions

How many days are in a month for conversion?

There is no exact answer: months are 28 to 31 days. Tools quoting 30 are making an unstated assumption, and it compounds, since twelve 30-day months is 360 days rather than 365.

Is a day always 24 hours?

Not where daylight saving applies. One day each year has 23 hours and another 25, so adding 86,400 seconds to reach tomorrow lands an hour out twice a year. Adding a calendar day is a different operation.

What is a leap second?

An extra second occasionally inserted to keep atomic time aligned with Earth's irregular rotation, producing a 61-second minute. It has caused real outages, and insertion is due to stop by 2035.

Do Unix timestamps count leap seconds?

No. Unix time treats every day as exactly 86,400 seconds and repeats a value during a leap second, so it is not a true count of elapsed SI seconds since the epoch.

How many working days are in a year?

By convention 240 to 260, depending on jurisdiction and public holidays, and a working month is usually taken as 21 or 22 days. These are conventions, not measurements, so state which you used.

Privacy & Security

All processing happens locally in your browser — nothing is uploaded.

Data: None
Client-side-Side
Active
v1.0

How to Use

Enter a time value and unit to see all conversions.

Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.