日常ツール

Date Duration Calculator

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

Date Duration Calculator workspace

使い方

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.

例

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

入力

2024-02-28 to 2024-03-01

出力

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

仕組み

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.

よくあるエラー

  • 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.

制限

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

プライバシー

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

よくある質問

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

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