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
- Enter February 28, 2024 as the start and March 1, 2024 as the end.
- Calculate the difference with the dates in chronological order.
- Count each midnight crossed from the start date to the end date.
Worked example
Input
2024-02-28 → 2024-03-01Expected result
2024-03-01 − 2024-02-28 = 2 dCheck the result
The interval includes the transitions into February 29 and March 1, making two elapsed days.