ToolPal

日付差分計算機

2つの日付の正確な差分を年、月、週、日、時間、分、秒で計算します。

両方の日付を選択すると差分が表示されます。

使い方

2つの日付の正確な差分を年、月、週、日、時間、分、秒で計算します。

  1. 1Enter your start date in the first input field. You can type directly in YYYY-MM-DD format or use the date picker.
  2. 2Enter your end date in the second input field. The end date defaults to today so you can quickly calculate how long ago something happened.
  3. 3The difference is calculated instantly — the top banner shows a human-readable summary like '2 years, 3 months, 15 days'.
  4. 4The grid below breaks down the difference into years, months, weeks, and remaining days for a complete picture.
  5. 5Scroll to the totals section to see total days, total weeks, total hours, and total minutes — useful for contracts, payroll, or project tracking.
  6. 6If you need to reverse the dates, click the 'Swap Dates' button instead of re-entering them.

主な機能

  • Multi-unit breakdown — years, months, weeks, and days shown simultaneously for a complete picture
  • Total counts — flat totals for days, weeks, hours, and minutes ideal for contracts and scheduling
  • Swap dates — one-click reversal without re-entering anything
  • Leap year and DST aware — handles edge cases like February 29 and daylight saving transitions
  • 100% browser-based — no server, no uploads, works offline after page load

よくある質問

詳しく読む