Date Calculator
Two date tools in one page: count the days between two dates (with weeks, a calendar breakdown, and the weekday of each date), or add or subtract days from any date. All math uses UTC dates, so daylight-saving changes never shift a result by a day.
Method: dates are parsed as UTC midnights and differenced in whole 24-hour days, so local time zones and daylight-saving transitions cannot move a result. February 29 is handled as a real date only in leap years.
Frequently Asked Questions
Does the days-between count include the start date or the end date?
Neither, in the sense that it counts the gap: end minus start. January 1 to January 2 is 1 day, January 1 to January 1 is 0 days, and January 1 to March 5, 2026 is 63 days. If you need an inclusive count (counting both endpoints, as in "how many days am I on holiday including travel days"), add 1 to the result.
Why do you use UTC instead of my local time zone?
Because local time zones have daylight-saving days of 23 or 25 hours, and subtracting local midnights can land a day off around a DST change. UTC days are always exactly 24 hours, so the count is the same for every user everywhere.
How is the years/months/days breakdown calculated?
By walking the calendar: whole years first, then whole months, then remaining days. January 1 to March 5, 2026 is 2 months and 4 days (January 1 → March 1 is 2 months, plus 4 days), not 63 ÷ 30. The breakdown describes the same span as the day count, just in calendar units.
What happens with February 29?
It only exists in leap years (years divisible by 4, except centuries not divisible by 400). February 28, 2028 plus 1 day is February 29, 2028, and one more day is March 1, 2028. An impossible date such as February 30 is rejected with an error instead of silently rolling over to March.
Can I subtract days, or go backwards?
Yes, both ways. In "add or subtract" mode, enter a negative number to go backwards (March 5, 2026 minus 63 days is January 1, 2026). In "days between" mode, an end date before the start date gives a negative day count, and the calendar span is shown as the absolute distance with a note.