How to Count Days Between Dates
Avoid off-by-one errors in calendars and deadlines. Read a concrete example, examine the trade-offs, and try a small exercise to see whether the principle applies to your situation.
The core rule or calculation
- Start here. Decide whether you count elapsed days or include both start and end dates.
- Add context. Use a consistent time zone when crossing midnight.
- Keep in mind. Legal deadlines may have special holiday and business-day rules.
Work through an example
From March 1 to March 4, three complete days elapse if the start is excluded: March 1→2, 2→3 and 3→4. An inclusive deadline count would cover four calendar dates instead. Both conventions exist in different tasks.
Define the counting convention before calculating; off-by-one mistakes usually begin with an unstated assumption.
Where calculations go wrong
Calendar-day counts, business-day counts and “within X days” legal deadlines can follow different rules. Public holidays, time zones and local regulations may change the practical answer.
Try the method
Use the date-difference tool for elapsed calendar days. Then write down whether your real question includes both endpoints or excludes weekends.
Open a related BlogJD calculator →
Further reading and verification
Read the linked reference for additional background on time & numbers. Review the applicable rules and update dates before using any example in a consequential decision.
Related BlogJD guides
Published October 9, 2026 · BlogJD Editorial Desk · How we prepare and correct content · Report a correction.