Time Calculator

Calculate date and time differences with live countdowns, Chinese lunar dates, festivals, and solar terms.

How to use

  1. Choose start and end dates; add times only when second-level precision is needed.
  2. Select Set to now on either side to start a live elapsed timer or countdown.
  3. Select Save to name the current setup. Use a saved tab to restore its dates and current-time modes, or delete the selected configuration.
  4. Read the duration in days, hours, minutes, and seconds; edit either field to make it fixed again.

Saved configurations

Default dates

Start time

Fixed time

Calendar details appear after selecting a valid date.

End time

Fixed time

Calendar details appear after selecting a valid date.

Time difference

0 days

Calculation and lunar date notes

Leave both time fields empty to calculate whole days only. Durations use Gregorian dates and local Unix timestamps. Lunar dates, festivals, and solar terms are references only; official days off and adjusted workdays are not included.

Processed in your browser. No sign-in and no input uploads.

Time configurations stay in local browser storage until you clear site data.Data details

About this tool

Time Calculator measures the exact elapsed duration between two local dates and times, or keeps one side synchronized with the current system time.

Save up to 20 named configurations in local browser storage. They remain until site data is cleared and restore both endpoints, optional times, and current-time modes.

Gregorian timestamps are used for every calculation. Chinese lunar dates are displayed only as calendar references.

Frequently asked questions

Does a month or year have a fixed duration?

No. The result stays in days, hours, minutes, and seconds because month and year lengths vary.

Does the lunar date affect the calculation?

No. It is supplementary calendar information. The duration uses Gregorian dates and Unix timestamps.

Where are saved configurations stored?

Up to 20 configurations are stored in localStorage in this browser until you clear site data. No dates are uploaded.