Calendar date calculator
Practical ToolsCheck current network

Calendar date calculator

Count calendar days between dates or add and subtract a whole number of days

All input is processed in this browser and is never sent to a server or written to local storage.

Enter data or load the example, then process it.

Gregorian dates, years 0001–9999. Day offsets must be whole numbers within ±1,000,000.

Supported input and rules

Accepts real Gregorian dates from year 0001 to 9999. Differences count midnight boundaries: end date minus start date. The same date gives zero; an earlier end date gives a negative number. This is calendar arithmetic, without local time zones or daylight-saving adjustments.

How to use the result

Choose date difference and supply two dates, or choose addition and give a start date plus an integer day offset. Use a negative offset to subtract. The result rejects impossible dates and dates outside the supported year range instead of silently rolling them into another month or year.

Worked example

2024-02-28 to 2024-03-01 is 2 calendar days because 2024 is a leap year. Adding 2 days to 2024-02-28 gives 2024-03-01. A daylight-saving transition does not alter the result because clock hours are not part of the input.

Scope and limitations

Weekends and public holidays count as ordinary calendar days. This is not a working-day, legal deadline or exact-hours calculator. To count both endpoints, review your own counting convention; the displayed difference does not add an inclusive endpoint automatically.