日期计算
UpBox优盒工具箱,免费在线日期计算器,计算两个日期相差天数、工作日与周数,支持按天、周、月、年做日期加减,含本月与今年快捷区间。
无需注册 · 数据不上传No sign-up · nothing uploaded
日期区间Date range
按自然日计算,工作日含首尾两天、仅排除周六周日,不含法定节假日与调休;日期加减遇到月末自动取当月最后一天
日期推算Date arithmetic
工具介绍
算两个日期之间隔了多久,最容易出错的是首尾算不算。这里把相差天数、含首尾天数、完整周加剩余天、工作日四个数分开列出来,需要哪个就取哪个。 Working out how far apart two dates are mostly goes wrong on whether the endpoints count. This lists days apart, inclusive days, full weeks plus remainder, and workdays separately, so you take the number you actually need.
右边的推算按自然日推进,遇到 1 月 31 日加一个月会自动落到 2 月 28 日或 29 日,不会溢出到下个月。工作日只排除周六周日,法定节假日与调休需要自己再核。 The arithmetic on the right advances by calendar days, and 31 January plus one month clamps to 28 or 29 February instead of overflowing. Workdays exclude only Saturdays and Sundays — check public holidays and make-up workdays yourself.
- 日期差计算Days between
- 工作日统计Workday count
- 日期加减Date arithmetic
- 月末自适应Month-end clamp
- 快捷区间Preset ranges
使用说明
- 选择开始与结束日期。Pick start and end dates.
- 读取四项统计结果。Read the four figures.
- 在右侧填基准日与偏移。Set a base date and offset on the right.
- 选择单位并计算。Pick a unit and calculate.