日期时间
即时、私密且免费
日期期间计算器.
计算两个日期之间的天数、周数、月数和年数。
输入数值
输入时结果会更新。
总时长
30天
1 month
日历明细
年: 0 ·月: 1 ·周: 0 ·天: 0
Date & Time
Instant, private, and free
Calculate the days, weeks, months, and years between two dates.
Set your values
Results update as you type.
30days
1 month
Years: 0 ·Months: 1 ·Weeks: 0 ·days: 0
Pick a start and end date to see the total number of days, plus a breakdown in weeks, months, and years.
How does this calculator count months?
It uses calendar-aware month counting, so a span from Jan 31 to Feb 28 counts as a partial month, not a full one. Variable month lengths are handled correctly.
What if my end date is before my start date?
The calculator still works and shows the absolute duration. A small note flags that the end date is earlier than the start date.
Does this count leap years?
Yes — using real Date arithmetic means leap days are automatically included in the total day count.
日期时间
即时、私密且免费
计算两个日期之间的天数、周数、月数和年数。
输入数值
输入时结果会更新。
30天
1 month
年: 0 ·月: 1 ·周: 0 ·天: 0