Date calculation guide: counting rules, weekdays and leap years
Does the day count include the start and end dates?
By default, the interval excludes the start date and includes the end date. The same date gives 0 days, and the next date gives 1 day. Include both endpoints adds one day, so the same date gives 1 day. The end cannot precede the start. Weeks are complete groups of seven days plus a remainder, not calendar-week numbers or a year-month-day breakdown.
Monday–Friday counts are not holiday-aware business days
The weekday count includes Monday through Friday within the same selected interval and excludes Saturday and Sunday. It does not subtract public holidays or account for local working-week rules, shifted workdays or company calendars. Use it as a weekday count, not a country-specific business-day promise. Adding or subtracting days always uses calendar days, including weekends.
Leap years and calendar dates without time-zone shifts
Calculations use the Gregorian calendar for years 0001–9999. For example, 2024-02-28 to 2024-03-01 is 2 days, or 3 when both endpoints are included. Dates are represented as whole calendar days, so daylight-saving changes do not alter the count. This is not an elapsed-hours calculator and does not model historical calendar reforms. Add or subtract up to 3000000 days while keeping the result in range.
Local processing and related tools
Inputs are processed in your browser, without uploading them for calculation. Copy exports the current result only. Shared website resources may still load. Editing an input clears the previous result to prevent accidental reuse.