TokiAtlas

Days between dates

Duration

1 day

Start date excluded

2026 in the Japanese calendar

How it works

The same date gives zero days, or one day with both endpoints included. The result is negative when the end date is earlier.

February 28 to March 1, 2024 spans two days, or three days including both dates.

National Astronomical Observatory of Japan · Leap years (Japanese)

Guide and quick reference

The basic rule is end date minus start date: the same day is 0 days, the next day is 1. This matches the default period rule in Civil Code Article 140 of Japan, which does not count the first day unless the period starts at midnight.

For stays, rentals and other counts where the first day itself is “day 1”, tick the option to include both endpoints; the result is the plain difference plus one.

February 29 counts as an ordinary day. February 28 to March 1 spans two days in 2024 but only one day in 2025.

Days in each month
Month20262027
13131
22828
33131
43030
53131
63030
73131
83131
93030
103131
113030
123131
Full year365365
Example spans (difference vs. both dates included)
SpanDifferenceBoth dates included
Jan 1, 2027 → Jan 31, 20273031
Jan 1, 2027 → Dec 31, 2027364365
Feb 1, 2026 → Mar 1, 20262829
Feb 1, 2027 → Mar 1, 20272829

In Excel and spreadsheets

CalculationFormulaNotes
Days between dates=B2-A2A2 = start date, B2 = end date. Switch the result cell to a number format if it shows a date.
Including both dates=B2-A2+1When both the first and last day count.
Using DATEDIF=DATEDIF(A2,B2,"D")Returns an error if the end date is earlier than the start date.

Frequently asked questions

Why is the same day zero days?

The tool measures the difference between dates. Choose “include both dates” if the first day should count as day 1.

Can the result be negative?

Yes. If the end date is before the start date, the difference is shown as a negative number.

How do deadlines like “within 3 days” count?

Under Civil Code Article 140 the first day is normally excluded, so a period starting Monday runs Tuesday to Thursday. A period that begins at midnight does include its first day.

Does February 29 count?

Yes. If February 29 falls inside the span, it is counted as one day.

How do I count only working days?

This calculator uses calendar days. Use the business-day calculator to exclude weekends and Japanese public holidays.

Are times of day included?

No. The count is in whole calendar days.