Date Calculator

Count the days between dates, or add days, weeks or months to a date, with this date calculator.

Your inputs

For weeks or months, enter the number of weeks or months instead of days.

Calculated on your device. Your inputs stay with you.

A LITTLE MORE CLARITY
◌

Make room for the answer.

Enter your values and calculate.
Your result and its breakdown will appear here.

How it works

Uses Gregorian calendar dates with leap-year validation. Choose elapsed-day or inclusive counting. Month addition clamps to the last valid day of a shorter month. Calendar days are counted independently of daylight-saving changes; adding a negative number subtracts days.

How to use the date calculator

  1. Choose whether you want the difference between two dates or to add or subtract time from a date.
  2. For a difference, enter the start and end dates and choose whether to count both endpoints (inclusive).
  3. To add time, enter the starting date and a number of days, weeks or months. Use a negative number to subtract.
  4. Read the result date or the number of days between the dates.

Date Calculator formula

  1. Elapsed days = (UTC end date − UTC start date)/86,400,000. Inclusive counting adds one endpoint day in the direction of the range.
elapsed days
calendar days from the start date to the end date
inclusive
elapsed days plus one, counting both endpoints

Worked example

  1. How many days from 28 February 2024 to 1 March 2024?
  2. 2024 is a leap year, so 29 February exists.
  3. Elapsed days: 28 Feb → 29 Feb → 1 Mar = 2 days.
  4. Counting both dates inclusively gives 3 days.
  5. Adding one month to 31 January 2026 gives 28 February 2026, because February has no 31st.

Understanding your result

Elapsed days measure the gap between two dates, so the same date to itself is zero days. Inclusive counting adds one day and is often used for bookings, leave and event durations where both the first and last day count.

Adding months is not the same as adding a fixed number of days, because months vary in length. When the target month is shorter, the result moves to its last valid day. Adding days or weeks always adds an exact number of calendar days.

The calculator uses calendar dates without times, so daylight-saving changes do not affect the result. For deadlines with legal or contractual meaning, check how the rules define the counting of days.

Business days are not the same as calendar days. This calculator counts every calendar day, including weekends and public holidays. For working-day deadlines, subtract weekends and holidays separately, as rules differ between countries and organizations.

Frequently asked questions

What happens when a month has fewer days?

Month addition clamps to the last valid day of the target month. Identical dates are zero elapsed days or one inclusive day.

Can I subtract weeks or months?

Yes. Select week or month addition and enter a negative number. The sign is preserved for reversed date differences.

How do I count the days between two dates?

Choose difference, enter the start and end dates and read the elapsed days. If both the start and end date should count, for example in a hotel stay or leave request, switch on inclusive counting to add one day.

How do I add 90 days to a date?

Choose add days, enter the starting date and 90. The calculator returns the date exactly 90 calendar days later, handling month lengths and leap years. Enter −90 to find the date 90 days earlier.

Does the date calculator handle leap years?

Yes. It uses the real calendar, so 29 February is included in leap years such as 2024 and 2028. A date range that crosses 29 February in a leap year contains one more day than the same range in a common year.

How many weeks are between two dates?

Find the number of elapsed days and divide by 7. For example, 70 days is exactly 10 weeks, and 75 days is 10 weeks and 5 days.

Does the date calculator count weekends and holidays?

Yes. It counts every calendar day, including weekends and public holidays. If you need working days only, subtract the weekend days and any holidays that fall in the range, because holiday calendars vary by country and employer.

Last updated: · Reviewed by the Orizonsol team · How we build and check our calculators