Date planning

How to count days between two dates without an off-by-one mistake

Learn the difference between elapsed days and inclusive date counting before a timeline or deadline matters.

Updated July 20, 2026 · 4 min read

Elapsed days are the usual date difference

A normal date difference measures how much time passes after the start date until the end date. From March 10 to March 11 is one elapsed day, even though two calendar dates appear on the page.

This approach works well for planning a trip, estimating a project span, or checking how long it has been since an event.

Inclusive counting includes the first and last date

Some rules deliberately count both boundary dates. In that case, add one day to the elapsed-day result. A range from March 10 through March 11 is two days when both dates are included.

Do not guess which approach applies. Look for wording such as 'including both dates', 'within', 'from', or 'through' in the relevant instruction.

Deadlines can have extra timing rules

A deadline may use a specific time of day, a local time zone, or business days rather than calendar days. Weekends and public holidays can change a real-world schedule even when the date difference is simple.

Use a date calculator to make the range clear, then rely on the exact rule or official notice when a date affects eligibility, a payment, or a legal obligation.