Time Calculator

Add or subtract hours, minutes, and seconds from a clock time, including day changes.

How to use

These are example steps; replace the values for your task.

  1. Set 00:01:00 and select Subtract.
  2. Enter 0 hours, 0 minutes and 90 seconds.

Enter values

Result

—

About this tool

Add or subtract a duration from a clock time and see how many days the result moves forward or backward.

This tool does not use a calendar date, so it does not calculate weekdays or month changes. Use Date & Day Calculator for calendar dates.

Adding two hours to 23:30 gives 01:30 the next day

Use 23:30 as the base time and add two hours. The result is 01:30 with a next-day marker, indicating that the calculation crossed the 24-hour boundary.

Add or subtract a calendar date

Try a use case and check the result

Add or subtract hours, minutes and seconds, then read the day rollover beside the clock result.

Example buttons replace the inputs and settings above and calculate. Restore previous input steps back one example at a time. After trying multiple examples, repeat restore to return to your original input. This history is lost when the page closes.

Add 20 minutes 45 seconds to 23:50:30

Input and settings

23:50:30 + 0 hours 20 minutes 45 seconds

Expected result

00:11:15 / 1 day later

Subtract one hour from 00:10:00

Input and settings

00:10:00 − 1 hour 0 minutes 0 seconds

Expected result

23:10:00 / 1 day earlier

How to read the result

The clock alone cannot distinguish yesterday from tomorrow. Read 00:11:15 together with one day later, and 23:10:00 with one day earlier. Adjustments beyond 24 hours are also separated into a day offset.

Scope and limits

Each adjustment field takes a non-negative integer; choose subtraction instead of entering a negative value. There is no date or region, and a day always means 24 hours. Offsets, daylight saving, leap seconds and actual calendar dates are not calculated. Extremely large integers are subject to JavaScript numeric precision.

Verification: calculations cover second carry, previous-day rollover, multiple days and fractional-input rejection. Browser checks compare clock and day offset and restore the original input after two examples.

Continue with the next task

Subtract seconds across midnight

Subtracting 90 seconds from 00:01:00 gives 23:59:30 on the previous day.

The duration is converted to seconds, added or subtracted, then split into day offset and a 24-hour clock.

Duration fields accept nonnegative integers. Minutes or seconds above 59 are carried into larger units.

Frequently asked questions

Can I add more than 24 hours?

Yes. The result includes the number of days moved.

Can it add seconds?

Yes. Hours, minutes, and seconds are supported.

Is this a time zone converter?

No. It performs arithmetic on one clock time without changing zones.

Related tools

Inputs and storage

Keep any content you need before clearing. This tool does not autosave inputs or results. Reloading or closing the page, clearing inputs or resetting may discard your work.

Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.

Explore tools & games

All 120 tools · 16 games

All 120 tools · 16 games

Text & writing 26

Calculators & converters 22

Date & time 12

Images & PDF 26

Data & web 28

Random & handy 6

Games 16