使用繁體中文瀏覽?切換到繁體中文
使用简体中文浏览?切换到简体中文
日本語で表示しますか?日本語に切り替える
한국어로 보시겠어요?한국어로 전환
ดูหน้านี้เป็นภาษาไทยไหม?เปลี่ยนเป็นภาษาไทย
Lihat halaman ini dalam bahasa Indonesia?Beralih ke bahasa Indonesia
Xem trang này bằng tiếng Việt?Chuyển sang tiếng Việt
यह पेज हिन्दी में देखें?हिन्दी में बदलें
Voir cette page en français ?Passer au français
Diese Seite auf Deutsch ansehen?Zu Deutsch wechseln
¿Ver esta página en español?Cambiar a español
Visualizzare questa pagina in italiano?Passa all'italiano
Deze pagina in het Nederlands bekijken?Overschakelen naar Nederlands
Wyświetlić tę stronę po polsku?Przełącz na polski
Ver esta página em português?Mudar para português
Открыть страницу на русском?Переключить на русский
Bu sayfayı Türkçe görüntülemek ister misiniz?Türkçeye geç
عرض هذه الصفحة بالعربية؟التبديل إلى العربية
Skip to content

Date Calculator

Calculate calendar or business days between dates, or add and subtract years, months, weeks, and days from a date.

Select Calculation

Day count type

Result

Enter both dates to calculate the result.

Select Calculation

Date Calculator

Quick Start

1
Choose days between dates, add to a date, or subtract from a date.
2
For date difference, enter start and end dates, then choose calendar or business days. For date math, enter a start date and whole years, months, weeks, or days.
3
Results update instantly. Date difference excludes the end date unless you turn on inclusive mode.

Common Scenarios

Deadlines

add 14 days, 6 weeks, or 3 months to find a target date.

Trip planning

count how many calendar days sit between two dates.

Work backward

subtract a preparation window from a target date.

Calculation Modes & Counting Rules

Days between dates: enter start and end dates; the default result is the calendar-day gap from start date to end date.
Include end date: turn it on only when the ending date should count as a full day; for forward spans it adds one day to the default gap.
Business days: count weekdays between the dates. Regional holidays and custom workweeks are not removed.
Add to date: enter whole years, months, weeks, and days to project a future calendar date from the start date.
Subtract from date: use the same whole-number units to work backward from a target or reference date.
Month-end handling: adding or subtracting months or years keeps the calendar month where possible and clamps to the target month's last day when needed.
Calendar days: count every calendar day. Business days: exclude Saturdays and Sundays only.

Usage Advice

When a target month has no matching day, the result is clamped to the last day of that month.
Inclusive mode is for workflows that count the ending day as a full day.
Dates are handled as YYYY-MM-DD calendar dates to avoid timezone shifts.

URL Quick Fill

Prefill this tool from the URL hash. Use start-date/end-date for a date gap, or start-date with years/months/weeks/days for date math.
view: Mode (optional: days-between, add-to-date, or subtract-from-date)
start-date: Start date (required, YYYY-MM-DD)
end-date: End date (required for Days between dates, YYYY-MM-DD)
inclusive: Inclusive counting (optional boolean for Days between dates)
day-count: Day count type (optional: calendar or business for Days between dates)
years: Years to add or subtract (whole number)
months: Months to add or subtract (whole number)
weeks: Weeks to add or subtract (whole number)
days: Days to add or subtract (whole number)
Example: #view=days-between&start-date=2026-04-01&end-date=2026-04-29&inclusive=true
Hash parameters stay in the browser for tool prefill; CrateX.app does not record them.
Do not put private dates, client names, or other sensitive details in URLs.

Limitations & Compatibility

Business-day mode excludes weekends only; it does not apply regional holidays, business closures, or custom workweeks.
It does not handle time-of-day or timezone conversion; use the timestamp converter for exact instants.
Contracts, payments, and legal deadlines can define their own counting rules.

Privacy & Security

Calculations run in your browser. Current values stay in the current browser session by default.

FAQ

6

Continue with these related tools for the next step.

Community

© CrateX.app · All Rights Reserved