Days Between Dates

The count between two dates, with weekdays separated from the total.

Checked in a browser on 2026-11-19 · how these tools are tested · runs on your device

Inclusive or exclusive

The difference between two dates is one day less than the number of days you count if you include both ends. A holiday from the 1st to the 7th is seven days inclusive and six exclusive, and both answers are used in practice.

    Weekdays

    Saturday and Sunday are excluded but public holidays are not, because those differ by country. For a delivery estimate, a holiday calendar has to be applied on top.

      Overnight and backwards

      The page handles a later start than end by counting backwards, and reports the absolute value, so the sign never surprises anyone.

        Good to know

        Time zones are ignored: both dates are read as local calendar days at midnight, which is what a person means when they ask how many days until a holiday. Adding a time would make the answer depend on the clock.

        If the two dates are in different years, leap days are counted correctly because the difference is taken on real calendar dates rather than on an average year length.

        A count of days is the same whether you start in winter or summer, because the difference is taken on calendar dates rather than on elapsed hours. That is why a flight across a time zone does not change the answer.

          How Days Between Dates works

          Count days, weeks, weekdays and hours between two dates, with an option to include the first day. The method behind Days Between Dates is the single-purpose logic inside wave54.js, and this page shows the result with its assumptions in the open.

          • Open Days Between Dates and provide days between dates — the page accepts it in the field it shows.
          • For Days Between Dates, dates come from your device clock and the browser's own calendar and timezone database.
          • The Days Between Dates output appears on the page and can be copied or downloaded in the format it offers; nothing is kept afterwards.

          A worked example for Days Between Dates

          A typical run of Days Between Dates starts with days between dates and ends with the result shown above; the page reports what it did in plain words so the output can be checked against a known-good case before it matters.

          Test a date you already know the answer to — a birthday or a deadline — before trusting a future or past date you cannot check by eye. That check applies directly to Days Between Dates with days between dates.

            When to use Days Between Dates — and when not to

            Reasonable uses: Planning deadlines across time zones; Counting days to an event; Converting timestamps in logs. Days Between Dates is deliberately narrow: it does one job and states its assumptions instead of hiding them.

            Calendar apps handle events, not arithmetic between dates. For counting days or converting timestamps, a single page beats creating an event you will delete. The honest ceiling for Days Between Dates: for Days Between Dates, daylight-saving rules are the browser's — and they change by law.

            • Best case for Days Between Dates: Planning deadlines across time zones
            • Also fine with Days Between Dates: Counting days to an event
            • Not what Days Between Dates is for: for Days Between Dates, daylight-saving rules are the browser's — and they change by law.

            Reading the Days Between Dates result

            Dates in Days Between Dates are calendar values in your device timezone; DST shifts timestamps by an hour, never dates.

              Accuracy and limits of Days Between Dates

              The method is the single-purpose logic inside wave54.js. Days Between Dates prints results at the precision its inputs justify, and the limits below are the honest ones:

              • Days Between Dates: For Days Between Dates, daylight-saving rules are the browser's — and they change by law.
              • For Days Between Dates, dates before 1970 depend on the browser.

              Privacy and speed on the Days Between Dates page

              The Days Between Dates page is a static file plus wave54.js; there is no upload endpoint behind it, so your input cannot be stored or logged. Closing the tab discards the work.

              Speed follows the build: Days Between Dates loads one stylesheet and one script, with no framework, no web font and no tracker. That is why the tool responds as you type instead of waiting on a round trip.

                What you get from Days Between Dates

                The output of Days Between Dates appears on this page and can be copied or downloaded in the format the page offers. Nothing is queued, nothing is emailed, and there is no usage counter — the time work finishes the moment the numbers are in.

                Because Days Between Dates is built from wave54.js rather than a server call, the practical ceiling is your device: memory for large inputs, and CPU for anything that loops over pixels or pages. On a normal laptop that ceiling sits far above everyday use; on an old phone it arrives sooner, and the page tells you when a job is too big instead of failing silently.

                  Questions

                  What does Days Between Dates do?

                  Count days, weeks, weekdays and hours between two dates, with an option to include the first day. Everything runs in your browser; nothing is uploaded.

                  How accurate is Days Between Dates?

                  The method is the single-purpose logic inside wave54.js. For Days Between Dates, daylight-saving rules are the browser's — and they change by law.

                  What are the limits of Days Between Dates?

                  For Days Between Dates, dates before 1970 depend on the browser.

                  Is anything uploaded when I use Days Between Dates?

                  No. Days Between Dates runs entirely in the browser tab; nothing is uploaded, stored or logged.

                  Can I use Days Between Dates offline?

                  Yes — Days Between Dates keeps working offline once the page has loaded; the whole tool is a local script.

                  Keep going

                  More time tools