Time Difference Calculator

Calculate the exact time between two dates in days, hours, minutes, seconds, weeks and weekdays. Free and private: runs in your browser.

Enter two dates or times on separate lines.

Runs entirely in your browser. Nothing you paste is uploaded or stored.

Use cases

  • Debug timestamps in logs and API payloads.
  • Schedule meetings and releases across time zones.
  • Check date handling in code before it ships.

Frequently asked questions

Does it count weekends?

The main result counts all days. The weekdays row counts Monday to Friday only (public holidays are not excluded).

Is the Time Difference Calculator free?

Yes. It is free with no sign-up, and it runs entirely in your browser, so your input is never uploaded or stored.

Does it handle daylight saving time?

Yes. Conversions use your browser's time zone database (IANA), which applies daylight saving rules for the date you enter.

Related tools

Checking one snippet is a start. Scan your whole repository for free with CodeInspector.

All free developer tools