📅 Workday Calculator

Count the working days between two dates, excluding weekends and any custom holidays you specify.

📐 工作原理与说明
工作日数 = 区间总天数 − 周末天数 − 法定节假日天数 + 调休上班日天数(按选项决定是否排除周六、周日);总天数 =(结束日期 − 开始日期)÷ 86400000 + 1(含首尾两天);按整周算术统计周末,再对假期与调休日期去重,调休上班日优先计为工作日,用于工期与考勤估算。
请选择日期进行计算

📐 规则说明

默认排除周六、周日

法定节假日:列出放假日(如国庆、春节假期),逐日扣减

调休上班日:填入周末补班日期,即使为周六/周日也强制计为工作日;若与法定节假日重复会提示冲突,普通工作日填入会提示核实

含起始日与结束日(如周一到周五 = 5 个工作日;同一天 = 1 个自然日)

2026 年中国法定节假日参考(调休以国务院当年通知为准,本页不自动加载,请手动填写):

1/1 元旦,2/15-2/23 春节,4/4-4/6 清明,5/1-5/5 劳动节,6/19-6/21 端午,9/25-9/27 中秋,10/1-10/7 国庆

📚 深度解析:工作日计算器

💡 常见使用场景

  • 算两日间的法定工作日数。
  • 算项目交付或请假天数,剔除周末与自定义节假日得实际工作日。
计算
2026-01-01 到 2026-01-31 约 22 个工作日(剔除周末与节假日)。

❓ 常见问题(FAQ)

节假日表?
按地区法定节假日,需维护。
能自定义节假日吗?
可以。除默认排除周末外,页面支持逐行填入自定义额外节假日日期(如调休上班日或法定假日)参与计算。

Formula & Standard References

Item Formula / Note Source / Standard
Working day definition working days subtract weekends and holidays then add make-up days State Council holiday arrangements
Interval counting iterate the date series rather than multiplying week counts Arithmetic practice
Make-up workdays make-up days change yearly, so use each year's own notice State Council holiday arrangements
⚠️ 使用说明与注意事项