logo
GeekFormat

Time conversion

1Minute = 60Second
60

International System (SI)

Nanosecond (ns)6.00×10¹⁰
Microsecond (μs)60000000
Millisecond (ms)60000
Second (s)60
Minute (min)1
Hour (h)0.016667
Day (d)0.000694
Week (week)0.000099
Month (30 days)0.000023
Year (365 days)0.000002

Free online time unit conversion tool that supports two-way instant conversion of a total of 10 commonly used time units: ns, μs, ms, s, min, h, day, week, month, and year. After entering any value, the results of other units will be updated synchronously in real time, which is suitable for interface delays, script timeouts, working hours statistics, learning plans, SLA caliber unification and report organization. It is important to note that this page deals with "duration" rather than "date and time", where month is fixed to 30 days and year is fixed to 365 days. Leap years, time zones, calendar month lengths and specific start and end dates will not be automatically processed. All calculations are done locally in the browser, and the data is not uploaded to the server.

Related

About time unit conversion and fixed caliber

Time conversion deals with "duration" rather than "moment". Values ​​such as 30 seconds, 90 minutes, 72 hours, 3 weeks, and 6 months all represent how long they last, so they can be converted linearly to each other using a fixed ratio. On the contrary, date and time such as a certain year, a certain day, a certain month, a certain time and a certain minute are not the objects of this page, because they will be affected by time zone, daylight saving time, leap year and specific number of days in the month.

In short delay scenarios, ns, μs, ms, and s are the four most common groups of units. Program performance, hardware responsiveness, database latency, animation frames, and network latency often switch back and forth between these units. After unifying the unit, the same monitoring charts, logs and documents are easier to compare horizontally, and misreadings can also be reduced by orders of magnitude.

In daily and operational scenarios, minutes, hours, days, and weeks are the most practical expression levels. For example, a 45-minute meeting, a 12-hour shift, a 3-day delivery, and a 2-week sprint. When making reports, it is often necessary to unify time fields from different sources into the same magnitude, so that summation, averaging and sorting will be more stable.

The month and year in this page adopt fixed caliber: 1 month = 30 days, 1 year = 365 days. This writing method is suitable for unifying estimates, reports and budget cycles, but it is not suitable for calculating due dates, salary settlement dates or days of leave on the real calendar. As long as the scene involves a specific date, calendar logic should be used instead.

Time and frequency often go together. Time is how long a cycle is, and frequency is how many times it occurs per unit time. When doing cycle, sampling, vibration or refresh rate analysis, it is usually the clearest and least error-prone approach to unify the time into seconds before deriving subsequent formulas.

Use Cases

  • Unify the interface delay and front-end animation duration between ns, μs, ms and s to facilitate performance troubleshooting and interface document writing
  • Unify the cache TTL, retry interval, queue visibility timeout and script sleep parameters into seconds or milliseconds to reduce configuration errors
  • Change the duration of courses, training, meetings and live broadcasts from minutes to hours to quickly organize schedules
  • Change scheduling windows such as 8 hours, 12 hours, and 72 hours into days or weeks to facilitate work hour statistics and duty schedule arrangement
  • Unify the backup retention time, log retention period, and data cleaning cycle between days, weeks, months, and years
  • Arrange the project cycle, sprint rhythm, and milestones between weeks, months, and years to make roadmap summary more intuitive
  • Change the number of hours in the study plan, reading plan and course plan into days or weeks, and evaluate the total investment time
  • Unify the subscription duration, trial period and membership period into days or months to facilitate comparison of settlement instructions and product copywriting
  • Change the experimental pulse width, sampling period and timer parameters from μs or ms to s to facilitate substitution into formulas or program configurations
  • Convert operation and maintenance SLA 15 minutes, 4 hours, and 24 hours have been changed to the same unit to facilitate comparison of response and recovery goals
  • Change the travel, transportation, waiting and delivery cycles from days to weeks or months, making it easier to describe the overall rhythm when communicating on the project
  • Change the duration of video clips, audio clips and subtitles from seconds to milliseconds to facilitate precise timeline annotation
  • Unify manually recorded daily, weekly and monthly work hours reports into hours or days to facilitate the import of tables and BI reports
  • The fixed estimation caliber of month=30 days and year=365 days is written into the internal document to reduce the difference in understanding of period conversion between different teams

How to Use

  1. Fill in the known duration value in the input box, supporting integers, decimals and signed values.
  2. Select the source unit on the left, optional ns, μs, ms, s, min, h, day, week, month, year.
  3. Select the target unit on the right, and the results will be updated immediately; you can click the swap button in the middle if you need to view it in reverse.
  4. If you want to see it all at once, expand the results panel to view the complete correspondence of the value in 10 time units at the same time.

Features

  • Complete coverage of 10 commonly used time units: from nanoseconds ns, microseconds μs, milliseconds ms to seconds, minutes, hours, days, weeks, months, and years, suitable for multi-level time conversion from program delays to long-term plans
  • Two-way instant conversion: the result is updated immediately after entering the value, the source unit and the target unit can be freely switched, without manually clicking the conversion button
  • Can be expanded to view all results: the corresponding values of the same duration in 10 units can be displayed at the same time, which is convenient for checking multiple calibers such as seconds, minutes, hours, days, weeks and years at one time
  • The month and year calibers are clear: this page uses month = 30 days and year = 365 days to avoid different teams' inconsistent understanding of "one month" and "one year" calibers
  • Suitable for decimal and very small time scales: interface delay, animation duration, sensor sampling period, experimental pulse width and other values expressed in ms, μs, ns can be directly converted
  • Supports larger time duration summary: scheduling hours, project cycle, learning plan, subscription cycle, SLA window and backup retention time can be unified into hours, days, weeks, months or years
  • One-click exchange of source/target units: The intermediate exchange button is suitable for quickly viewing the reverse results, such as converting 72 hours into days, and then back-checking 3 days into hours
  • Pure browser local calculation: no network requests, no server logs, your working hours, experiment records, timeout thresholds and business parameters will not leave the device

How to choose the time unit?

First look at whether you are dealing with program delays, daily duration, or weekly, monthly and yearly estimates in reports, and then decide which set of units is most convenient.

Unit levelRepresentative unitMost common scenariosUse reminderThis page supports
Ultra-short latencyns / μs / msProgram performance, interface latency, hardware timing, sampling periodSuitable for high-precision duration, very common when configuring system parametersSupports
Universal durations / min / hScript timeout, meeting length, training plan, working time statisticsMost suitable for daily communication and most business system fieldsSupport
Medium and long-term cyclesday / weekScheduling, delivery cycle, backup window, SLA reportSuitable for planning and summary, easy to compare horizontallySupport
Fixed estimation calibermonth / yearBudget, report, subscription cycle, long-term plan estimationThis page is fixed month=30 days, year=365 days, not calendar calculationSupport
Date and time logicSpecific date/time zone/leap yearDue date, account period end, time zone conversion, number of days of leaveSuch problems are not fixed ratio conversion and cannot be dealt with directly on this pageNot supported

Best Practices

First confirm whether you are calculating "duration" or "date difference"

This page is suitable for durations such as 90 minutes, 72 hours, and 6 months. It is not suitable for date logic such as the difference in days from 2026-07-01 to 2026-08-01. As long as specific start and end dates appear, do not treat linear conversion as calendar calculation.

When it comes to programs, formulas and monitoring, it is preferred to unify to seconds or milliseconds

Many system interfaces, database fields, monitoring panels and timeout parameters are ultimately based on seconds or milliseconds. Unifying the units first, and then entering the configuration or deriving formulas can significantly reduce orders of magnitude errors.

The conversion result of month and year must indicate the caliber.

If you use month or year conversion values ​​in documents or reports, it is best to indicate "month=30 days, year=365 days" next to them. In this way, when others see the results, they will not mistakenly think that you have taken into account the real month length and leap year differences.

When making team reports, try to unify them into one level

In the same weekly report, working hours report or SLA summary, it is best not to write minutes in part, hours in part, and days in part. Unify them into the same level first and then make statistics, the readability and accuracy will be higher.

When period and frequency appear together, unify the time first and then change the frequency.

The sampling period, refresh period, and vibration period often need to be converted into Hz. Usually the time should be unified into seconds first, and then processed according to f = 1/T.

frequency conversion

Rounding is done before final display, and accuracy is preserved as much as possible during the intermediate process.

Especially in scenarios such as ms, μs, and ns, where a difference of one order of magnitude will cause big problems, it is recommended to retain the original conversion accuracy first, and then retain the decimal places as needed during the final display.

FAQ

What units does this time converter support?

This page currently supports 10 Time units: ns, μs, ms, s, min, h, day, week, month, year. They respectively cover ultra-short durations in programs and electronic systems, as well as common minute, hour, day, week, month, and year calibers in daily reports and reports.需要注意的是,当前页面不支持 fortnight、decade、century 或 millennium 这类更长周期单位。

1 second equals how many milliseconds, microseconds, and nanoseconds?

1 second = 1000 milliseconds (ms) = 1000000 microseconds (μs) = 1000000000 nanoseconds (ns). This set of conversions is very suitable for comparison of interface delay, database response time, animation frame duration, sampling period and program sleep parameters. For example, 1500 ms is equal to 1.5 s, and 500 μs is equal to 0.5 ms.

How many seconds are 1 minute, 1 hour, 1 day, and 1 week?

1 minute = 60 seconds, 1 hour = 3600 seconds, 1 day = 86400 seconds, 1 week = 604800 seconds. When doing timers, cache expiration, script timeouts, SLA windows and data retention times, many systems eventually require you to fill in seconds or milliseconds. In this case, it is usually safest to unify the duration to seconds first.

How are month and year calculated in this tool?

This page uses month = 30 days = 2592000 seconds, year = 365 days = 31536000 seconds. This is to make the "duration conversion" into a stable linear relationship to facilitate reporting and estimation. It does not represent real calendar month lengths, nor does it automatically handle 28/29/30/31 day differences, leap years, or specific start and end dates.

Can it handle date differences, time zone conversions or countdowns?

No. This page only handles the unit conversion of pure duration values, such as 90 minutes to hours and 72 hours to days. It doesn't read the start and end times, calculate the number of days between two dates, and it doesn't handle UTC, local time zone, daylight saving time, or countdown calendar logic.

90 minutes equals how many hours? 72 hours equals how many days?

90 minutes = 1.5 hours, 72 hours = 3 days. This type of conversion is very common in shift scheduling, course scheduling, operations windows, work order responses, and fitness training plans. This page supports directly inputting any integer or decimal, and you can see the results in multiple calibers such as hours, days, weeks, etc. in real time.

Why might it be inconsistent with the calendar when a month is converted into weeks or days?

Because this page treats month as 30 days, so 1 month = 30 day ≈ 4.2857 week. A "month" in a real calendar might be 28, 29, 30, or 31 days, so if you're calculating contract start and end dates, billing period end dates, or days off, you should use specialized date logic rather than the linear month conversion on this page.

Can I enter negative numbers or decimals?

Yes. Signed or decimal durations such as -0.5 s, 1.25 h, 0.008 ms can be converted normally. Negative values ​​are common in time differences, offsets, or relative advance/delay marking, while decimals are common in interface delays, training duration, and experimental data.

Why does this page not provide longer units such as decades, centuries, and millennia?

Because the current code actually supports only 10 units: ns, μs, ms, s, min, h, day, week, month, year. The SEO and description of this page are now strictly aligned with this real support range, and will no longer commit to units such as decade, century, and millennium that are not actually included in the page.

What is the relationship between time conversion and frequency conversion?

They often appear together, but they are not the same thing. Time conversion deals with "how long a cycle lasts", and frequency conversion deals with "how many times it occurs per second". If you have a cycle length in your hand, such as 20 ms or 500 μs, you should usually unify it into seconds first and then press f = 1/T to convert it into Hz. When you need to convert between Hz, kHz, MHz, and GHz, please use a frequency conversion tool.

Can this page be used offline? Will the data be uploaded?

Yes. After the page is loaded, all time conversions are performed locally in the browser, with no network requests, no server logs, and no form submissions. Your working hours, script timeout, experiment records and business rule configuration will not be uploaded to the server, and the input will be cleared after closing the page.

Glossary

Nanosecond (ns)
10^-9 seconds, suitable for representing extremely short hardware responses, CPU-level events, and high-precision timing measurements.
Microseconds (μs)
10^-6 seconds, common in sensor sampling, database micro delays, communication protocol timing and embedded timing.
Millisecond (ms)
10^-3 seconds, one of the most common delay units in interface response, front-end animation, audio and video editing and monitoring systems.
Second (s)
The basic unit of magnitude in time conversion. Many system configurations ultimately use seconds as the storage or transmission caliber.
Minutes (min)
1 minute = 60 seconds, suitable for meeting lengths, training plans, short-term tasks and daily arrangements.
Hour (h)
1 hour = 3600 seconds, suitable for working hours statistics, shifts, operation and maintenance windows and battery life estimation.
Day/week
1 day = 24 hours, 1 week = 7 days. They fit into schedules, shipping cycles, rosters, and data retention policies.
Month
This page is fixed as 30 days, which is suitable for unified estimation and reporting, and does not represent the actual calendar month length.
Year
This page is processed based on 365 days, which is suitable for budget and long-term cycle estimation, and does not handle leap year differences.

Quick check on commonly used time conversion anchor points

These baseline values ​​are most commonly used in work hours, schedules, SLAs, and script configurations.

base valuecommon equivalentsTypical scenario
1 s1000 ms = 1000000 μs = 1000000000 nsInterface response, animation duration, timeout configuration
1 minute60 secondsMeetings, training, short task timing
1 hour60 minutes = 3600 secondsWorking hours, shifts, window times
1 day24 hours = 1440 minutesDaily report, backup, delivery cycle
1 week7 day = 168 hShift scheduling, sprint, weekly report
1 month30 day = 720 hSubscription period, report estimate
1 year365 day = 8760 hAnnual budget, long-term planning

Select time units according to scenarios

Not all time data is suitable to be placed at the same level. Choosing the right unit will make the table easier to read.

ScenarioMore suitable unitReason
Interface delay, database time-consuming, animation timems or μsConvenient to observe small differences, and closer to system monitoring and log caliber
Script timeouts, scheduled tasks, meetings and training planss, min or hcan both retain accuracy and are suitable for human reading and configuration
Working hours statistics, shift schedules, SLA windowsh or dayFacilitate summarizing total hours and comparing labor arrangements
Project plan, delivery rhythm, backup cycleweek or month are more suitable for medium and long-term rhythm expression, but the fixed caliber of month must be indicated
Annual budget, subscription period, long-term estimateyearThe summary expression is more concise, but the year on this page is fixed as 365 Day processing

Privacy & Security

All time conversions on this page are done in your browser. The working hours, timeout configuration, experiment duration, SLA values ​​and report parameters you enter will not leave your device - there are no network requests, no server logs, and the input will be cleared after closing the page. For internal process configuration and sensitive business parameters, this page will not collect or store any content.