計算ツール/日付計算機
日付計算機
日付間の差分とカウントダウン計算
入力
結果
日付を選択してください
Date Calculator Guide
Learn how to calculate date differences and add/subtract dates
What is Date Calculator?
The Date Calculator helps you find the difference between two dates or add/subtract time from a date. Perfect for calculating age, project deadlines, event planning, D-day countdowns, and pregnancy due dates.
How to Use
- Choose a mode: Date Difference or Add/Subtract
- For difference: Select start and end dates
- For add/subtract: Enter base date and time to add/subtract
- View results in years, months, weeks, days, and hours
Practical Tips
- Use Date Difference to calculate exact age or days until an event
- Add/Subtract mode is perfect for calculating due dates
- Results show both total days and broken-down format
Accuracy & Limitations
Date calculations account for leap years and varying month lengths. All calculations are performed locally in your browser. Note that results assume the Gregorian calendar system.
よくある質問
閏年はどのように計算されますか?
閏年のルール:1) 4で割り切れれば閏年、2) 100で割り切れれば平年、3) 400で割り切れれば閏年。例:2024年(閏年)、1900年(平年)、2000年(閏年)。本ツールは閏年を自動的に考慮します。
2つの日付間の営業日だけを計算できますか?
現在このツールはすべての日(週末を含む)を計算します。営業日計算が必要な場合は、合計日数から週末数を引いてください。おおよそ週5日基準で合計日数 × 5/7で推定できます。
日付差計算で開始日と終了日は含まれますか?
一般的に差分計算は終了日から開始日を引くため、開始日は含まれません。例:1月1日〜1月3日 = 2日。両日を含めるには結果に1を足してください。
旧暦(東アジアの伝統暦)変換をサポートしていますか?
現在は新暦(グレゴリオ暦)のみサポートしています。旧暦変換は複雑な天文学的計算が必要です。旧暦の日付が必要な場合は、専用の旧暦変換ツールをご利用ください。
非常に古い日付も計算できますか?
JavaScript Dateオブジェクトは1970年前後約±270,000年の範囲をサポートしています。ただし、グレゴリオ暦は1582年に導入されたため、それ以前の日付は歴史的に正確でない場合があります。