コード、データと QRツール

Time Between Dates

「Time Between Dates」はコード、データと QRに使えるブラウザツールです。入力内容と結果は通常この端末内で処理され、登録は必要ありません。

ブラウザ内で処理登録不要プライバシーの説明 ↗

Including the end date adds one calendar day to the result.

使い方

使い方

  1. Enter the start and end calendar dates.
  2. Choose whether the end date counts as a full day.
  3. Calculate the difference and review the duration in multiple units.

Calendar dates, not clock times

This tool compares dates at midnight UTC. It is designed for whole calendar days and avoids browser time-zone or daylight-saving changes affecting the answer.

Inclusive and exclusive end dates

When the end date is included, one calendar day is added to the elapsed difference. The start date is always included as the beginning of the range.

Private browser calculation

Validation and calculation happen locally in your browser. No dates are uploaded or stored by this page.

よくある質問

あわせて知りたいこと

Is the end date included?

You can choose either. The default excludes it, matching the elapsed time between two calendar midnights.

Does this account for leap years?

Yes. The browser date engine uses the proleptic Gregorian calendar, including leap years.

Does daylight saving time change the result?

No. Dates are compared at UTC midnight, so the result is a stable calendar-day count.

Can I enter the dates in reverse order?

No. The end date must be on or after the start date.