Days Calculator

Measure calendar days elapsed between two dates that span a leap day.

Measure calendar days elapsed between two dates that span a leap day.

How to use

  1. Enter February 28, 2024 as the start and March 1, 2024 as the end.
  2. Calculate the difference with the dates in chronological order.
  3. Count each midnight crossed from the start date to the end date.

Worked example

Input

2024-02-28 → 2024-03-01

Expected result

2024-03-01 − 2024-02-28 = 2 d

Check the result

The interval includes the transitions into February 29 and March 1, making two elapsed days.

Continue with another guide

Cookie
We care about your data and would love to use cookies to improve your experience.

Learn how we use cookies