a11y.skipToMainContent
1

日期差异计算器

立即发现任何两个日期的区别,分出年、月和日——加上周和小时的总和。 可选的复选框允许您包括结束日或只计算工作日 .

Select both dates to see the difference.
Was this tool helpful?
Send output to:
Advertisement

How to use Date Difference Calculator

  1. 使用取日期器选择起始日期和结束日期。 工具默认为今天,30天后即可立即看到结果.
  2. 如果您想要将最终日期算作全天( 年龄或计费计算用得上) , 请选择选中“ 包含结束日 ” .
  3. 启用“ 显示工作日数” 以查看选定范围内的工作日数( 星期一- 星期五) .

{姓名}是什么来着?

输入起始日期和结束日期,计算器立即显示日历精确分解:全年,剩余月份和剩余天数. 这与人类自然描述持续时间的方式相匹配——例如'2年,3个月,15天',而不是原始日数.

总计数部分给出了以平方天数、小数周和小时表示的跨度。 这些对于计费期,项目时间表,或者在您需要单个数字而不是混合分解时的排期期限都是有用的.

Check “Include end day”将结束日期本身算作跨度的一部分——在计算结束于特定日期的年龄或计费时有用. 启用“ 周日显示数” 以查看周一至周五工作日有多少个在幅度内, 自动排除周六和周日。

Advertisement

FAQ

如果结束日期是在开始日期之前怎么办?
计算器自动互换出两个日期,所以它总是计算出一个正持续时间,不管您先输入哪个日期.
工作日是否不包括公共假日?
不——周日计数仅将星期六和星期日排除在外. 公共假日因国而异,年而异,所以您需要根据您的住址手动减去.
为什么年/月/日的细目与总天数的相差?
日历月的长度不同(28–31天),因此将总天数除以30给出了近似,而不是准确的答案. 这个计算器使用日历算术给出准确的年份,月份和天数.

Related tools

Author

OH
Omar Hassan"The Number Cruncher"

Engineer & Unit Conversion Specialist

Omar is a mechanical engineer by training and a unit-conversion enthusiast by passion. He has built calibration systems for aerospace and automotive manufacturers and knows firsthand how a single decimal error can cost millions in rework. His mission is to make every conversion instant, accurate, and accessible to everyone, whether they are a student, tradesperson, or practicing engineer, with no advanced degree required.

Advertisement