Date Difference Calculator
Count the days, months or years between two dates. Add or subtract days to find a new date.
Your inputs stay in your browser.Enter Start date and End date as YYYY-MM-DD, then choose Calculate dates. The day count appears below. Select Include end date to count both dates. Today uses your device’s current local date. Drafts stay in memory only; refreshing clears them. Processing and exports stay local.
Enter values or try an example, then choose Calculate dates.
How to use Date Difference Calculator
The English worksheet adds multiple intervals, inclusive custom exclusions, ISO week labels, locale display and annual anniversaries. Calculate dates continues to show the primary unfiltered result. Choose Analyze intervals for the worksheet’s filtered counts and timeline. Sum counts each interval independently; unique totals merge overlaps.
CSV accepts start,end with optional label,include_end (true/false/empty), up to 50 records / 64 KiB. Import validates everything before replacing intervals with Undo. Global exclusions remain in place. Download interval CSV, a timeline SVG or a complete printable HTML worksheet; open the HTML and choose Print. Formula-like CSV labels gain a protective apostrophe.
Working-day handoff carries one interval and its intersecting exclusions in tab memory for five minutes. Accept it on the receiving page, review weekdays and calculate explicitly; Undo restores its previous inputs. No dates enter the URL or storage. Receiving limits are 100,000 elapsed days and 1,000 excluded dates, including existing exclusions.
Calendar months use the original start-day anchor, clamped to the target month’s end; years group twelve complete months. These boundary spans do not change with inclusivity or exclusions. Annual anniversaries start after the original event year; choose February 28, March 1 or leap years only for a February 29 event. Locale formatting always uses the Gregorian calendar in UTC; ISO inputs remain unchanged.
Choose Between dates and enter a Start date and End date in YYYY-MM-DD format. Choose Calculate dates to see days, complete seven-day weeks and remaining days. The end must be on or after the start.
The usual count measures elapsed days: the same date gives zero. Select Include end date to count both endpoints, so the same date gives one. Swap dates exchanges your two entries.
Choose Add / subtract days to enter a Base date, a whole number of Days and a Direction. Calculate dates shows the resulting date and weekday. Use 0 to 3,000,000 days; dates and results must stay within years 0001–9999.
Today: start / base fills the start or base for the current mode; Today: end fills the end date for Between dates. These buttons use your device’s local date when clicked. Clear resets the form, Try an example fills sample dates and Undo restores the previous inputs and result after replacement. Copy or download the result below.
Example: count days across a leap day
Choose Try an example, then Calculate dates. From February 28, 2024 to March 1, 2024 is two elapsed days because February has 29 days that year. Including both endpoints counts three dates.
Switch to Add / subtract days with the example still filled. Adding one day to December 31, 2024 gives January 1, 2025. Choose Calculate dates again after each change.
About calendar days
Calendar days include weekends and holidays. They are useful for comparing dates or finding a date a certain number of days away. Complete weeks in the basic result are seven-day groups. Separate ISO week labels include the ISO week-year, which can differ from the calendar year.
This tool compares dates without clock times, so daylight-saving changes do not change the count. It uses Gregorian calendar rules across the supported years. Use a working-day calculator for weekday schedules and check the applicable rules separately for legal deadlines.
Stars and feedback
Loading…
What could we improve in Date difference calculator?
Email us feedback@tooltulip.com
Tool reference #135