Alat Sehari-hari

Date Duration Calculator

Measure the calendar span between two dates as days, weeks, and years/months/days, including leap years.

Date Duration Calculator workspace

Cara memakai

Pick a start and end date. Optionally include the start day in the day count. Calculate shows total days, whole weeks, and a calendar breakdown.

Contoh

Inclusive start is optional. Inverted ranges (end before start) are an error, not a negative duration.

Input

2024-02-28 to 2024-03-01

Output

2 days, 0 weeks remainder noted, calendar 0 years 0 months 2 days

Cara kerja

Dates are parsed as calendar Y-m-d values. Day counts use date differences, not milliseconds divided by 86400000, so leap days are included when they fall in the range.

Kesalahan umum

  • End before start Swap the dates. Negative spans are not returned.
  • 29 February was rejected That year is not a leap year.
  • You expected business days only This tool counts calendar days, including weekends.

Batasan

Time of day and time zones are ignored. Legal deadlines that exclude holidays need a different tool.

Privasi

The text you paste is processed in your browser. PepsTools does not receive it, store it, or send it to another service.

Pertanyaan

Does 2024-02-28 to 2024-03-01 include the leap day?

Yes. The span is 2 days because 29 February 2024 exists.