Date Difference Calculator
Calculate exact days, weeks, months, years between two dates.
日付差計算の一般的な用途
日付計算の落とし穴
日数を包括的にカウントする場合(例:1月1日から1月3日は2日ではなく3日)、差に1を加えます。これは、裁判所命令による通知期間や「両日を含む」と明記されている一部の契約条件で重要です。本ツールは排他的な日数(標準的な数学的差)を表示します。
インドの雇用通知期間は法的に日数で定義されており、雇用契約や業種によって通常30日、60日、または90日の暦日です。人事チームは退職日から最終勤務日を確認するために日付計算ツールを使い、カウントが契約と一致するかを確認します。退職金法(Payment of Gratuity Act)に基づく退職金受給資格には5年間の継続勤務(1,825日、閏年を含む期間は1,826日)が必要で、正確な日数が退職者への退職金支払いを決定します。
銀行の定期預金(FD)の利息は預入日から満期日までの正確な日数で計算されます。多くの銀行はactual/365またはactual/366の日数計算方式を採用しています。預入日から満期日までの正確な日数を把握することで、銀行の表示利息が予想と一致するかを確認できます。株式型投資信託のLTCG(長期キャピタルゲイン)適格性(12ヵ月)は月数ではなく暦日で決まります。1日でも違うと課税区分が変わります。
プロジェクトキックオフ日から6週間のスプリントを計画しているプロダクトマネージャーは、週末を除いた稼働日数を使って納期をエンジニアリングチームと確認します。UPSC、JEE、CAT試験を受ける学生は、準備のマイルストーンまでの正確な残り日数を管理します。イベント企画者は会場のブッキングリードタイムを確認します。多くの会場は30〜60日前の予約通知が必要で、イベント日と今日の日付を入力してその日数が基準を満たすか確認します。
- プロジェクト計画:締め切りまでの稼働日数は?
- 年齢計算:年・月・日での正確な年齢。
- 契約・通知:特定の日付からの通知期間日数のカウント。
- 金融:利息計算のための正確な在籍期間の計算。
- イベント:結婚式、試験、製品ローンチまでのカウントダウン。
- 人事:退職金や有給休暇の算定のための勤続期間の計算。
よくある質問
- How do I calculate the number of days between two dates?
- Subtract the earlier date from the later date in milliseconds and divide by 86,400,000 (ms per day). This tool does it instantly — just pick two dates and see total days, weeks, months, years, and working days all at once.
- What counts as a working day?
- Working days are Monday through Friday, excluding weekends. This calculator does not exclude public holidays (which vary by country and year). For a more precise business day count that excludes holidays, you would need a country-specific calendar.
- How is the years/months/days breakdown calculated?
- The calculator computes full calendar years first, then full calendar months remaining, then remaining days — accounting for variable month lengths. This is the same method used when calculating someone's exact age.
- Can I calculate how many days until a future event?
- Yes. Set the start date to today (click the Today button) and the end date to your event date. The result shows a countdown in days, with a highlighted banner showing working days remaining.
- How many days are in a year or month?
- A common year has 365 days; a leap year has 366. The average Gregorian year is 365.2425 days. Calendar months vary: January/March/May/July/August/October/December have 31 days; April/June/September/November have 30 days; February has 28 (or 29 in a leap year).
関連ツール
- JSON Formatter, Validator & Repair Tool
Format, minify, validate, and repair JSON instantly in your browser. Sort keys alphabetically, auto-format on paste, download as file, escape/unescape strings — free, no sign-up, 100% client-side.
- QRコード生成
URL、テキスト、Wi-FiなどのQRコードを生成。PNGでダウンロード可能。
- パスワード生成
カスタム長と文字セットで強力なランダムパスワードを生成。
- Base64 エンコーダー / デコーダー
テキストをBase64にエンコード、または逆にデコード。
- URLエンコーダー / デコーダー
パーセントエンコーディングでURLとクエリ文字列をエンコードまたはデコード。