跳到主內容

日期差計算機

日期與時間

計算兩日期間的天數、月數與年數

答案速覽

Date Difference Calculator: Days, months and years between two dates. Date Difference Calculator uses standard date & time formulas to compute accurate results instantly.

相差天數

365 天

= 1y 0m 0d · 52w 1d

工作日(週一至五)261
週末天數104
折月(均長)11.99
折年1.00

計算過程

  1. 1From 2025-01-01 (Wed) to 2026-01-01 (Thu)
  2. 2Total: 365 days = 52 weeks + 1 days
  3. 3Calendar-style: 1 years 0 months 0 days
  4. 4Workdays 261 (72%) vs weekend days 104 — excludes public holidays

工作日與週末構成

Workdays261天 (71.5%)週末104天 (28.5%)

跨度的三種表達口徑

口徑本區間適用場景
純天數365合同、利息、計費
日曆年月日1年 0個月 0天年齡、工齡、紀念日
工作日261項目排期(未扣節假日)
計數約定:本工具算兩日期的間隔——「1 月 1 日到 1 月 2 日」= 1 天,起止不雙計。法律/財務場景有時是「含頭含尾」口徑,簽合約前務必確認約定。

這個工具對你有幫助嗎?

怎麼用

  1. Pick dates or a mode: select start/end dates or switch modes in the Date Difference Calculator.
  2. Instant calculation: results appear immediately with day/week/month equivalents.
  3. Solve both ways: change any field and everything updates — forward or reverse.
  4. Check the context: read the solar-term/holiday/rule notes on this page.

核心要點

  • Date Difference Calculator is a free online date & time tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: Days, months and years between two dates.
  • Results come with formulas and reference tables so you can verify every number.

原理與公式

Date Difference Calculator formula

Date Difference Calculator uses standard date & time formulas to compute accurate results instantly.

計算範例

How many days from 2026-01-01 to 2026-12-31?

計算步驟:Full year excluding the start date: 365 − 1

計算結果:364 days (52 weeks)

How many days from 2026-06-01 to 2026-08-15?

計算步驟:29 remaining days of June (excluding Jun 1) + 31 days of July + 15 days of August = 29 + 31 + 15

計算結果:75 days

常見問題

How do I use the Date Difference Calculator?
Open the page and fill in the input fields — results update automatically. Days, months and years between two dates.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

相關工具

相關指南

來源與更新

Based on standard calendar arithmetic. Last updated: 2025-07

最近更新:

本頁公式與內容經YiJianSuan團隊覆核,僅供學習參考,實際業務請以官方口徑為準。

內容由YiJianSuan編輯團隊維護並定期覆核,更新與審核流程詳見編輯規範.

引用本頁: YiJianSuan. 日期差計算機[EB/OL]. https://www.yijiansuan.com/zh-TW/c/date/date-diff

本工具提供的結果僅供參考,不構成任何專業建議,請以官方核算為準。