FigureNorth logo
FigureNorth
Explore Tools

Date Calculator

Add or subtract a whole number of calendar days from a selected date, or find the elapsed calendar days between two dates.

Quick answer: This calculator works with calendar dates rather than local 24-hour clock intervals, helping keep results stable across leap years and daylight-saving-time changes.

📅 Enter the Date Details

Choose a calculation type, then enter valid Gregorian calendar dates.

🧭 Calculation Type

Result Date

—

Enter a whole-day offset to calculate the date.

Total Days

—

Weeks + Days

—

Every calendar day is counted. Weekends and holidays are not excluded.

⚠️ General information disclaimer

This calculator provides calendar-date results for general information and planning. It does not interpret contracts, legal deadlines, filing rules, or jurisdiction-specific counting conventions. Confirm critical dates with the relevant authority or professional adviser.

📘 How It Works

Add Days and Subtract Days move the start date forward or backward by a non-negative whole number of calendar days. Days Between converts both valid dates to UTC calendar-day numbers and returns their absolute difference.

➕ Add Days: Result Date = Start Date + Whole-Day Offset.

➖ Subtract Days: Result Date = Start Date − Whole-Day Offset.

↔️ Days Between: Absolute difference between UTC calendar-day numbers.

🗓️ Month Ends: The calculator moves by complete days. It does not add or subtract calendar months.

🎯 When to Use

  • 🚀 Find a date a set number of days after a project starts.
  • ⏪ Work backward from a deadline or event date.
  • ✈️ Measure elapsed calendar days between travel dates.
  • 💳 Check calendar-length billing or subscription periods.
  • 🕰️ Compare historical or future dates in either order.

🧮 Worked Example Using the Production Formula

These fixed examples call the same calculateDate() function used by the interactive calculator.

Add One Calendar Day

December 31, 2026 + 1 day = January 1, 2027.

Difference Across Leap Day

February 28 to March 1, 2024 = 2 days, including February 29 between them.

📋 Assumptions and Counting Rules

  • 📅 Dates use the Gregorian calendar and contain no time-of-day value.
  • 0️⃣ The same start and end date returns 0 days; the following date returns 1 elapsed day.
  • ↔️ Days Between does not treat the start date as “day 1” and returns an absolute value when dates are reversed.
  • 🔢 Add and subtract accept non-negative safe whole numbers.
  • 🗓️ Offsets move by calendar days only. There is no month or year offset.
  • 🚫 Invalid dates are rejected instead of automatically rolling into another month.
  • 🌎 UTC calendar-day numbers protect date differences from daylight-saving-time changes.
  • 🏖️ Weekends and holidays remain included.

🗓️ Calendar and Leap-Year Guide

Different Month Lengths

Calendar months contain 28, 29, 30, or 31 days. A calendar month is not treated as a fixed 30-day period.

Leap Years

Leap years are divisible by 4, except century years must also be divisible by 400. So 2000 was a leap year, while 1900 and 2100 are not.

Crossing Month Ends

Whole-day offsets cross month and year boundaries naturally. January 31 plus one day is February 1.

DST-Safe Differences

Local midnight intervals can last 23 or 25 hours. Days Between therefore uses UTC calendar-day numbers instead of local elapsed milliseconds.

❓ Date Calculator FAQ

Does the date difference include the start date?

No. It measures elapsed calendar-day boundaries. The same date returns 0 days, and the following date returns 1 day. Add one manually if your schedule requires inclusive counting of both dates.

Can I enter the later date first?

Yes. Days Between returns the absolute elapsed-day difference and identifies when the dates were entered in reverse order. Add Days and Subtract Days use the selected direction explicitly.

How does January 31 plus one month work?

This calculator adds or subtracts whole days, not months. January 31 plus 1 day moves to February 1; there is no separate month-clamping or month-overflow rule in this tool.

How are leap years handled?

Dates follow Gregorian leap-year rules. Years divisible by 4 are leap years, except century years must also be divisible by 400, so 2000 was a leap year but 1900 and 2100 are not.

Does daylight saving time affect the result?

No. Days Between compares UTC calendar-day numbers, and date offsets move by calendar days rather than fixed 24-hour durations. A daylight-saving clock change does not add or remove a displayed day.

Are weekends and holidays excluded?

No. Every calendar day is counted. The calculator does not apply business-day, weekend, federal-holiday, or local-holiday exclusions.

What happens if I enter an invalid or unsupported date?

The calculator returns an invalid state. It rejects impossible calendar dates instead of rolling them into another month, and it does not return a partial result when a date or derived value falls outside the runtime-supported range.

Can I use this result for legal or contractual deadlines?

Use it only for calendar arithmetic. Legal, contractual, filing, visa, medical, eligibility, and payment rules may use inclusive counting, business days, holidays, time zones, or jurisdiction-specific definitions that this calculator does not determine.

✅ Calculation Scope and Review

Reviewed against the production calculation logic on August 22, 2026. The calculator covers strict Gregorian date validation, whole-day addition and subtraction, absolute elapsed-day differences, completed weeks, reversed date order, leap years, early years, and runtime-supported date boundaries.

It does not calculate business days, holiday schedules, times, time-zone conversions, month offsets, year offsets, or inclusive counting conventions. Confirm external deadline rules separately.