Date calculator

Calculation settings

Exclude weekdays

Date calculator guide

The date calculator quickly counts days between two dates. You can also add or subtract days, weeks, months, or years from a date.

  • Count days:Count days between two dates
  • Add days:Add days to a date
  • Subtract days:Subtract days from a date

How to use the date calculator

Count days between two dates

  1. Open the Count days tab.
  2. Choose the start date, or use Today.
  3. Choose the end date, or use Today.
  4. Select Calculate duration to see the day count.

You can include the end date in the result by adding one day.

Add days to a date

  1. Open the Add days tab.
  2. Choose a start date.
  3. Enter years, months, weeks, and days.
  4. Select Calculate new date.

Subtract days from a date

  1. Open the Subtract days tab.
  2. Choose a start date.
  3. Enter years, months, weeks, and days.
  4. Select Calculate new date.

Why use a day-count calculator?

Manual date math is easy to get wrong because leap years and month lengths vary. This calculator handles those details automatically.

How to use this tool

Calculate the day difference between two dates at UTC midnight, or add and subtract nonnegative whole years, months, weeks, and days from a date.

Calculate days between two calendar dates or find target dates in the future or past. Ideal for project deadlines, contract expirations, anniversary tracking, and countdowns.

💡 3 Quick Steps to Get Started

1. Select Mode

Choose between "Duration between dates" or "Add/Subtract days from date".

2. Select Calendar Dates

Pick start and end dates directly on the interactive date picker.

3. Review Exact Span

See the exact number of calendar days, weeks, and day-of-week breakdown.

When it helps

Duration mode can include the end date and exclude selected weekdays. Add and subtract modes apply years and months first, then weeks and days.

How it works

The day difference is the UTC-midnight millisecond difference divided by 86,400,000. Including the end date adds or subtracts one day by direction, and weekday exclusions apply only in duration mode. Weeks are days ÷ 7 and displayed months are days ÷ 30.4375. Date offsets use JavaScript UTC rollover, so a month-end date can roll into the following month.

Worked example

Example: count days from 2026-01-01 to 2026-01-31, or add one month to 2026-01-31 and review the JavaScript rollover date.

Limits and data handling

The displayed month difference is only days ÷ 30.4375, not a count of complete calendar months. The tool does not handle times, time zones, daylight-saving changes, or public holidays. Month-end offsets follow JavaScript date rollover and can land in the next month.

Dates, excluded weekdays, and results are processed only in the current browser. They are not sent to the GoGo Tools backend or stored by the site, and analytics events do not contain entered dates or results.

Date, Time & Calendar Mathematics Guide

Date, Time & Calendar Mathematics Guide

The tool computes calendar date intervals in UTC.2024-02-28 to2024-03-01 is2days, or3with the end-date option. Weekday counting removes Saturdays and Sundays but does not exclude public holidays; it is not a legal-deadline decision. Year/month offsets use JavaScript date rollover: adding a month at month end can enter the following month rather than clamp to its last day. Missing dates or invalid offsets show an error. Processing stays in the browser.

Authoritative Sources & Reference Standards

FAQ

Date calculator: Which dates and offsets can I enter?

Choose valid dates. Years, months, weeks, and days in add or subtract mode are parsed as nonnegative whole numbers. Duration mode also lets you include the end date and select weekdays to exclude.

Date calculator: How are the duration and new date calculated?

Duration uses UTC-midnight dates. Include end adjusts a forward or backward difference by one day, while weekday exclusions affect duration mode only. Offsets apply years and months first, followed by weeks × 7 and days.

Date calculator: What month, time-zone, and holiday limits apply?

The displayed month difference is only days ÷ 30.4375, not a count of complete calendar months. The tool does not handle times, time zones, daylight-saving changes, or public holidays. Month-end offsets follow JavaScript date rollover and can land in the next month.

Date calculator: Are my dates uploaded or stored?

Dates, excluded weekdays, and results are processed only in the current browser. They are not sent to the GoGo Tools backend or stored by the site, and analytics events do not contain entered dates or results.