Calculate

Gives the number of days between two calendar dates and a breakdown in years, months, and days. There is no time of day. Order does not matter: the earlier date is the start.

About this tool

This page calculates the difference between two calendar dates. There is no time of day. An invalid date, such as 31 February, is rejected because the calendar date is checked, not merely parsed.

Order does not matter. The earlier date is the start. The day total is the span and does not count both endpoints as extra days. A breakdown in years, months, and days is shown as well. 15 January 2024 to 20 March 2024 is 65 days: 0 years, 2 months, and 5 days.

1 January 2020 to 1 January 2024 is 1461 days: 4 years, 0 months, and 0 days. The day count includes the 2020 leap day. The calendar breakdown is 4 years. Business days are not counted and time zones are not applied. The dates stay in this browser.

How to use it

  1. 1

    Two calendar dates are taken, with no time of day. An invalid date such as 31 February is rejected because the calendar date is checked, not merely parsed.

  2. 2

    Order does not matter. The earlier date is the start. The total is the span and does not add the two endpoints as extra days. A calendar breakdown in years, months, and days is shown as well.

  3. 3

    15 January 2024 to 20 March 2024 is 65 days: 0 years, 2 months, and 5 days. 1 January 2020 to 1 January 2024 is 1461 days: 4 years, 0 months, and 0 days. Business days and time zones are not applied.

What it accepts

Two calendar dates are required. There is no time of day. An invalid date such as 31 February is rejected because the day is checked against that month. The text is not merely parsed. Order does not matter: the earlier date is the start. The day total is the span from the earlier date to the later date. It does not add the two endpoints as extra days. A breakdown in years, months, and days is shown beside it. 15 January 2024 to 20 March 2024 is 65 days, which is 0 years, 2 months, and 5 days. 1 January 2020 to 1 January 2024 is 1461 days, which is 4 years, 0 months, and 0 days. The day count includes the 2020 leap day. The calendar breakdown is 4 years. Business days are not counted. Time zones are not applied.

Where your data stays

The date difference is calculated in this browser from the two calendar dates you choose. The dates are not uploaded to the MegaToolkit server. The page reports the span in days and a breakdown in years, months, and days. It does not count business days and does not apply time zones.

Questions

Why is 31 February rejected?

The date is not merely parsed. The day is checked to see whether it exists in that month. 31 February is not a calendar date, so it is rejected. No time of day is taken either.

Does the day total count both endpoints?

No. The total is the span from the earlier date to the later date. It does not add the two endpoints as extra days. Order does not matter. The earlier date is the start.

Where does the 2020 leap day go between 2020 and 2024?

1 January 2020 to 1 January 2024 is 1461 days. The day count includes the 2020 leap day. The calendar breakdown is 4 years, 0 months, and 0 days.

Are business days or time zones included?

No. The page does not count business days and does not apply time zones. The dates stay in this browser.