Date Calculator

Find calendar days and weekdays between ISO dates, choose inclusive counting, or add a signed whole-day interval without daylight-saving drift.

Interactive calculator · Method DATE_TIME-1.2 · Last reviewed: 2026-10-05

Enter your scenario

Results update as valid inputs change. Correct any highlighted field before relying on the answer.

Your inputs

Try an example
Choose a comparison or a signed date shift.
The first date in the comparison or the date to shift.
The second date in the comparison.
Inclusive counting adds one day in the direction of the interval.

Default worked example. Edit the inputs to calculate your scenario.

Default worked example

Calendar-day difference 29 days
Count under selected rule 29 days
Full weeks plus days 4 weeks, 1 days
Weekdays (Mon–Fri) 20
Starting date 2026-08-01
Ending date 2026-08-30

From 2026-08-01 to 2026-08-30 is 29 calendar days before the optional inclusive-end adjustment.

Use the result

From calculation to decision

Use comparison mode for elapsed calendar boundaries and add mode for a schedule date. Preserve the signed result when the order of the dates matters.

What changes the result most

Date order, operation, and inclusive-end choice usually move the result most. Inclusive counting changes a count by one, while weekends change the weekday count but not calendar days.

What to do next

Change one high-leverage input, compare the new result with the default, and confirm any current rate, policy, quote, or external rule that controls the real decision.

Save and report

Calculation happens in this browser. Shared links include the visible input values, so inspect the URL before sending a sensitive scenario.

If a result appears wrong, report an issue for this calculator.

When this calculation helps

Use comparison mode for elapsed calendar boundaries and add mode for a schedule date. Preserve the signed result when the order of the dates matters.

The result separates the primary answer from supporting values so you can see both the number and the assumptions that produced it. Adjust one field at a time when comparing scenarios; changing several inputs together makes it harder to identify why the answer moved.

Formula / methodology

Each valid YYYY-MM-DD civil date is represented at UTC midnight. This avoids turning a daylight-saving transition into a 23- or 25-hour “day.”

signed days = (end UTC − start UTC) ÷ 86,400,000 inclusive count = signed days ± 1 add mode = start date + signed whole days

The weekday count includes Monday through Friday and excludes weekends. It does not know which public holidays apply to a particular location or employer.

Assumptions and limitations

  • Inputs are civil dates, not instants with a clock time or timezone.
  • A day means a calendar boundary, not always 24 elapsed local hours.
  • Weekday results exclude Saturday and Sunday only.
  • Between mode supports an absolute date difference of up to 200,000 calendar days; Include end adds one counted date. Add mode accepts signed whole-day intervals from −365,250 to +365,250 days. Both inputs and resulting dates must stay within Gregorian years 0001–9999.

Worked examples

Days between dates

August 1 through August 30, 2026 has a signed difference of 29 days. Turning on inclusive end produces a count of 30.

Subtract a deadline interval

Choose add mode and enter −14 to find the date two calendar weeks before the starting date.

Common mistakes

  • Mixing inclusive and exclusive counting without naming the rule.
  • Treating weekdays as business days with jurisdiction-specific holidays removed.
  • Using a date-only result where an exact timezone-aware timestamp is required.

FAQ

Why use UTC for date calculations?

UTC midnight makes date-only subtraction stable across daylight-saving transitions.

Does weekday count remove holidays?

No. It removes weekends only; consult the applicable holiday calendar for a true business-day deadline.

Sources and assumptions

The method uses deterministic calendar arithmetic and is recorded in the Source Guide. Holiday and local deadline rules must come from the organization that controls the date.

Updated: August 30, 2026. Method: DATE_TIME-1.0. Inputs remain visitor-entered unless a data timestamp is shown beside them.

How this calculator helps

Use it to: Compare two civil dates or add a signed whole-day interval to a date.

Inputs and example scenarios

These examples show how the result changes with different inputs. Change the values to match the decision you are making.

Starting date: 2026-08-01 ISO calendar date; Ending date: 2026-08-30 ISO calendar date: Starting date: 2026-08-01; Ending date: 2026-08-30; Calendar days to add: 30; Include the ending date: no; Date operation: Days between two dates. Example result: Calendar-day difference: 29 days; Count under selected rule: 29 days; Full weeks plus days: 4 weeks, 1 days; Weekdays (Mon–Fri): 20.

Starting date: 2025-01-15 ISO calendar date; Ending date: 2026-08-30 ISO calendar date: Starting date: 2025-01-15; Ending date: 2026-08-30; Calendar days to add: 45; Include the ending date: no; Date operation: Add or subtract calendar days. Example result: Result date: 2025-03-01; Starting date: 2025-01-15; Calendar days added: 45; Result weekday: Saturday.

What changes the result

Inclusive-end choice changes counts by one; reversed dates preserve the direction of the interval.

Formula and limitations

ISO calendar dates are represented at UTC midnight; millisecond differences are divided by 86,400,000 and weekday counts exclude weekends. Calendar arithmetic is deterministic; the weekday result intentionally does not model jurisdiction-specific holidays.

Last reviewed: 2026-10-05. Recheck the entered assumptions against the current product documentation, quote, code, or professional guidance when the decision is consequential.