📅 两日期间天数Number of Days Between Dates
计算两个日历日之间的整天数。本地处理。可设置「起始日」、「结束日」。Whole days between two calendar dates. Processed locally. Settings: Start date, End date.
使用说明与常见问题How-to & FAQ
「两日期间天数」是什么?What is the Number of Days Between Dates tool?
计算两个日历日之间的整天数。本地处理。可设置「起始日」、「结束日」。Whole days between two calendar dates. Processed locally. Settings: Start date, End date.
如何使用「两日期间天数」?How do I use the Number of Days Between Dates tool?
选择起始日和结束日,即可得到两个日期之间相隔的天数。结果会随输入实时更新。Pick the start and end dates to get the number of whole days between them. The result updates as you type.
含首尾?Inclusive?
本页为结束减起始的整天差,不含"两端都算一天"的 +1。Whole-day difference end-start; not an inclusive +1 count.
能举个计算实例吗?Can you show a worked example?
例如在「两日期间天数」中填 起始日 = 2026-01-01,结束日 = 2026-01-03,结果区显示:天数(结束−起始):2;绝对值:2For example, entering Start date = 2026-01-01, End date = 2026-01-03 in the Number of Days Between Dates gives: Days (end − start): 2; Absolute: 2
有哪些选项可以调整?What options can I adjust?
「两日期间天数」的设置:「起始日」默认 2026-01-01;「结束日」默认 2026-10-20。每次生成结果都按当前设置处理。Settings in the Number of Days Between Dates — "Start date" default 2026-01-01; "End date" default 2026-10-20. The result always uses the current settings.
时区如何处理?How are time zones handled?
「两日期间天数」按日历日期计算,只有“今天”取自你设备的本地日期;计算不涉及钟点,所以时区和夏令时不影响结果。The Number of Days Between Dates works with calendar dates; only "today" comes from your device's local date. No clock times are involved, so time zones and daylight saving time do not affect the result.
「两日期间天数」免费吗?需要注册吗?Is the Number of Days Between Dates free? Do I need an account?
「两日期间天数」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Number of Days Between Dates is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.