CALENDAR ARITHMETIC

See where leap day enters a calendar-date span

Compare February-to-March spans in leap and non-leap years while keeping the counting convention fixed.

A span crossing February can differ by one day between years because February may include a leap day. RSDateSpan counts the actual valid calendar dates entered, rather than assuming every month has the same length. Keeping the endpoint convention fixed makes the year-to-year comparison easier to understand.

Begin with a short February example

With ordinary date-difference counting, February 28 to March 1 in 2024 is two days: the path crosses February 29 before reaching March 1. The corresponding span in 2025 is one day because February ends on the 28th. These examples have the same month and day labels but occur in different calendar years.

Apply the same endpoint convention to both

If both endpoints are included, the 2024 span contains February 28, February 29 and March 1, giving three days. The 2025 span contains February 28 and March 1, giving two. Switching conventions for only one example would obscure the leap-day difference. Keep the checkbox in the same state while comparing the two years.

A fixed start and end label across two years
SpanDifferenceInclusive count
2024-02-28 → 2024-03-0123
2025-02-28 → 2025-03-0112

Use valid dates rather than approximate month lengths

The tool requires a valid date and rejects a nonexistent February 29 in a non-leap year. A long span should be entered with its actual start and end year, not estimated by multiplying months by thirty. The count reflects the date sequence. It does not provide a calendar-month difference or decide that a particular number of days equals one named month.

Keep weeks as a secondary description

The result also describes full groups of seven days and the remainder. A fifteen-day result becomes two complete weeks and one remaining day, regardless of which months the span crossed. Those groups are a convenient arithmetic description, not a replacement for the actual endpoint dates. Keep the dates and counting convention in any note where the original calendar context matters.

Put the example to work

Open the tool, enter your own inputs and review the result. The inclusive and exclusive day counting guide explains the workflow and its limits.

Open RSDateSpan

Have a correction or a question? Contact the operator.