Skip to content

Days Between Dates Calculator

Calculate the difference between two dates in all units.

  • No uploads
  • No account
  • No ads
  • No watermarks
  • Free forever

Network check starts when you add a file or change something in the tool

Blocks every fetch, XHR and beacon request this page makes and switches Google Analytics off, on tool pages, for this session.

Requests this page makes are counted from then on; page-load requests are left out.

How this works / check it yourself

From the moment you add a file or change something in the tool, this badge lists the requests this page makes. It reads the browser's own list of requests (Resource Timing), which shows a request once it finishes, and watches every fetch, XHR and beacon call. Downloads, such as this site's PDF and OCR engines or an AI model from Hugging Face, are listed apart from requests that carry data out.

This page cannot see requests made inside background workers (such as the PDF engine pdf.js and Tesseract OCR), WebSocket and EventSource connections, form submissions, link pings or the site's service worker, so they are not counted here, and offline mode cannot block them. A request is listed once it finishes. Your browser's Network tab shows everything.

Offline mode blocks the fetch, XHR and beacon calls this page makes. A part of the site that set up its connection before the page finished loading, such as sign-in, is not blocked; if it sends anything, the badge counts it as sent.

  1. Open your browser's developer tools (F12, or Cmd+Option+I on a Mac) and choose the Network tab.
  2. Add your file, run the tool and look for any request that uploads it. Requests made by workers are listed there too.
  3. For the strongest test, turn Wi-Fi off once the page has loaded and run the tool again: tools that need no download still work.
All Date & Time

About Date Difference

This date calculator counts the days between two dates and shows the gap in years, months and days, total days, weeks, business days and hours. Enter the dates in either order. It works in your browser, so the dates you enter are not saved or uploaded.

How to use Date Difference

  1. Pick the start date.
  2. Pick the end date.
  3. Read the years, months and days, total days, weeks, business days and hours.

Limits: Business days count Monday to Friday without the end date and do not skip public holidays. Times of day are not used.

Frequently asked questions

How many days are there between two dates?

Enter both dates and read Total days. It counts from the start date up to the end date, so 1 May to 2 May is 1 day. The same gap is shown in weeks, hours and years, months and days.

Does it count business days?

Yes. Business days counts Monday to Friday from the start date up to, but not including, the end date. It does not know public holidays, so take those off yourself.

Does the order of the dates matter?

No. If the end date is before the start date, the tool swaps them and shows the same difference.

Can I use it to work out someone's age?

Yes. Put the birth date in one box and today's date in the other, and read the years, months and days. The order does not matter.

Are the dates I enter saved?

No. The calculation runs in your browser and nothing is saved or uploaded. The page opens with today and 31 December of this year each time.