Skip to main content

View Latest

New Delhi31°C
Time, dates and shifts

Days between dates calculator

Days between dates calculator

How many days lie between two dates, with the choice of counting or not counting the first day, split into weekdays and days off.

How this is calculated

Excluding the first day, the count is the difference between the two dates. Including both adds one. Weekdays count Monday to Friday inside the range chosen; a shop that keeps a different weekly off needs the working-days calculator instead.

  • A notice period, a lease and a sentence each state their own rule about the first and last day. Pick the one the document picks rather than the one that gives the bigger number.

How many days from one date to another, with the first day in or out, and the span split into weekdays and weekend days so a duration can be read as either a deadline or a working period.

Counting both ends is a choice documents make differently

A notice that runs “from 1 April for 60 days” and a licence “valid from 1 April to 30 June” are not the same instruction. The first usually excludes the day of the event and counts forward; the second includes both days. Get one wrong and a filing is a day early or a day late, which is the entire difference between compliant and not.

The switch states which convention is in use and the answer repeats it, so a figure taken off this page carries its own basis with it. Neither convention is the default in law generally, and neither is what this page will argue about on your behalf.

Weekdays here, working days elsewhere

The weekday line is Monday to Friday and nothing else: it does not know about a gazette holiday, a substitute holiday or a shop that keeps Sunday open and Saturday closed. It is the count a bare calendar gives.

For a period that has to be worked, use the working days calculator, which takes the weekly off as an input and a list of holidays pasted in as dates, and returns a total that adds back to the calendar count.

Questions readers ask

Why does the weekday count change with the switch?

Because including the first day adds that day to the span, and if it was a Monday the weekday count rises by one while a Saturday adds to the weekend count instead. The two lines describe the same range and must move together.

Does it tell me the day of the week of the end date?

Yes, on the last line — which is the point of most uses of this page: a delivery promised on a particular weekday, a bond maturing, a hearing set for a Monday.

Is a leap year handled?

Yes. February is counted at its actual length for that year, so a span across 29 February is one day longer than the same dates in a common year.

Tools

More in Time, dates and shifts

Time and date calculators

Hours worked, elapsed time, the gap between two dates, working days and shift totals.