Date calculator

Count the days, weeks and months between two dates, or add or subtract days, weeks, months and years from a date. Business days are an option in both.

Runs in your browser. Nothing is uploaded.

–

    How to use it

    1. Choose Days between dates to count the time between two dates, or Add or subtract to find a date before or after another.
    2. Enter the dates. Both start on today, so “90 days from today” is already worked out in Add or subtract.
    3. Tick Include the end date if both the first and the last day should count, such as the days of a trip or an event.
    4. Tick the business days option to skip Saturdays and Sundays. Public holidays are still counted, so take those off yourself.

    How the days are counted

    The difference counts calendar days, not hours, so a daylight saving clock change inside the range never turns 31 days into 30.96. By default it counts from and including the start date up to, but not including, the end date, which is the same as subtracting the dates in a spreadsheet (=B1-A1). March 1 to April 1, 2026 is 31 days. Tick Include the end date to count both ends: 32 days.

    The result is also broken down into years, months and days (using the month rule below), and into weeks and days.

    Adding months to the end of a month

    Adding months keeps the day of the month. When that day does not exist in the target month, the result is the last day of that month:

    • January 31, 2026 + 1 month = February 28, 2026 (February 29 in a leap year such as 2028)
    • March 31, 2026 − 1 month = February 28, 2026
    • August 31, 2026 + 1 month = September 30, 2026
    • February 29, 2024 + 1 year = February 28, 2025

    This is the same rule as Excel’s EDATE function. Some software, including JavaScript’s built-in dates, rolls over instead and gives March 3 for January 31 + 1 month. One side effect: adding a month twice is not always the same as adding two months at once. January 31 + 1 month + 1 month = March 28, but January 31 + 2 months = March 31.

    Years and months are added first, then weeks, then days. A week is always 7 days.

    Business days

    Business days are Monday to Friday. Saturdays and Sundays are skipped, but public holidays are not, because they differ by country, state and employer. The US has 11 federal holidays a year; subtract any that fall on a weekday in your range.

    Counting between dates, business days use the same days as the day count: March 1 to April 1, 2026 has 22 business days and 9 weekend days. Excel’s NETWORKDAYS counts both ends, so tick Include the end date to match it. Adding business days does not count the day you start from, so Friday + 1 business day is Monday and Saturday + 1 business day is also Monday. That matches Excel’s WORKDAY.

    Questions

    What date is 90 days from today?
    Choose Add or subtract. It opens with today’s date and 90 days already filled in, so the answer is shown straight away. Change the number for 30, 60 or 180 days, or switch to weeks or months.
    Does adding 1 day to today give tomorrow?
    Yes. The start date is day 0, so today + 1 day is tomorrow and today + 7 days is the same weekday next week.
    Is adding 1 month the same as adding 30 days?
    No. A month keeps the day of the month: March 15 + 1 month is April 15, which is 31 days later. Use the Days box if you need an exact number of days, such as a 30-day return window.
    Are public holidays excluded from business days?
    No. Only Saturdays and Sundays are skipped, because holidays differ by country, state and employer. Count the holidays that fall on weekdays in your range and take them off the result.
    Does daylight saving time change the result?
    No. The calculator works on calendar dates, not on clock hours, so a range that crosses a clock change still gives whole days.
    How far back or forward can I go?
    Any date from the year 1 to 9999. Dates use the Gregorian calendar throughout, so results for dates before it was adopted (1582 in much of Europe, 1752 in Britain and its colonies) will not match the calendars people used at the time.