日付差計算ツール
2 つの日付の差を年・月・日・時・分・秒で正確に計算します。
使い方
Calculate a duration
Pick a start and end date and time. The calculator shows the calendar difference plus total days and total hours.
- Choose the start date and time.
- Choose the end date and time.
- Read the breakdown or copy the result.
Order does not matter
If the end is earlier than the start, the tool swaps the dates so the duration is always positive.
よくある質問
How are months counted?
Months are counted on the calendar, then remaining days, hours, minutes and seconds are added. This avoids rounding errors from average month lengths.
Does it account for daylight saving time?
It uses the local time zone of your browser, so daylight saving changes are reflected in the hour totals.
関連ツール
タイムスタンプ変換
Unix タイムスタンプ、ISO 8601、人間が読める現地日時の間で変換します。
タイムゾーン変換
ブラウザ内蔵のタイムゾーンデータベースを使って日時を世界のタイムゾーン間で変換します。
Cron 式ビルダー
プリセット、わかりやすい説明、次回 5 回の実行時刻で Cron スケジュールを作成します。
UUID / GUID ジェネレーター
ランダムなバージョン4 UUID を生成し、1つずつまたはまとめてコピーします。
ハッシュジェネレーター
任意のテキストの MD5、SHA-1、SHA-256、SHA-512 ダイジェストを計算します。
正規表現テスター
サンプルテキストに対して正規表現をテストし、すべてのマッチとキャプチャグループを確認します。