Holiday-aware Working Days|含节假日的工作日计算器

含节假日的工作日计算器 | Holiday-aware Working Days

含节假日的工作日计算器 Holiday-aware Working Days

支持粘贴/导入节假日清单,在计算工作日时自动排除周末与节假日,输出真实工期(工作日天数)与明细。
Paste or import a holiday list, then calculate *actual* working days by excluding weekends & holidays, with breakdown and export.

1. 输入参数 · Inputs
选择开始与结束日期,工具会按日遍历并分类:工作日 / 周末 / 节假日。
Pick start & end dates. The tool iterates day-by-day and classifies each date as: working day / weekend / holiday.
提示:若不勾选“包含开始/结束”,会按开区间处理(常用于工期从次日开始等场景)。
Tip: Uncheck “Include start/end” to make the range open-ended (useful when work starts next day, etc.).
默认:周六/周日为周末。若你所在行业是单休/轮休/周五半天等,可灵活改。
Default: Saturday & Sunday are weekends. Adjust if your organization has custom weekends.
周末的判定优先于“工作日”。如果某天既在节假日列表里,又是周末:它仍算“非工作日”,但会在明细里标注原因。
Weekends always mean non-working days. If a date is both weekend and holiday, it remains non-working; the breakdown will show it.
支持把“公司放假表 / 项目假期表”直接整段复制进来。
解析规则(务实、容错):工具会在文本中抓取所有像 “YYYY-MM-DD / YYYY/MM/DD” 的片段;同时支持 “YYYY-MM-DD~YYYY-MM-DD” 范围展开。
Parsing is forgiving: the tool extracts any “YYYY-MM-DD / YYYY/MM/DD” patterns and expands ranges like “start~end”.
节假日列表建议只包含休息日(non-working holidays)。若遇到“调休补班”(weekend becomes working day),建议放到下面的“额外规则”里处理:
Holiday list should contain non-working holidays only. If you have “make-up working days” (weekend becomes working), use the extra rule below.
(本工具提供“强制工作日列表”来覆盖周末/节假日。)
This tool provides a “Forced working days” list to override weekend/holiday.
逻辑优先级:强制工作日 > 周末/节假日。也就是说,如果某天在强制工作日里,即使是周六/周日或在节假日清单里,仍会算作“工作日”。
Priority: Forced working overrides weekends & holidays.
现实中经常出现:节假日放假 + 周末调休补班。两张表一配合,结果就会贴近“真实人力排期”。
Common real-world case: holiday break + make-up working weekends. Using both lists yields realistic schedules.
用法示例:从 2026-01-05 起(含当日或从次日开始可由“包含开始日”控制),加 10 个工作日,得到预计完工日期。
Example: from 2026-01-05, add 10 working days to estimate completion date.
“加/减 N 个工作日”会自动跳过周末、节假日,但会保留强制工作日(即使它是周末)。
Adding/subtracting working days skips weekends & holidays, but honors forced-working dates even if they fall on weekends.
3. 使用说明 · Notes

这是什么?
这是一个“更接近真实排期”的工作日计算器:除了排除周末,它还支持你把公司放假表、项目假期表直接粘贴进来,自动排除节假日;并额外支持“调休补班”(某些周末被安排工作),让结果更符合人力计划与交付节奏。

What is this?
This is a realistic working-days calculator. It excludes weekends, supports pasting/importing holiday lists, and also supports “make-up working days” (weekends that become working days), which is common in many companies.

  • 日期范围统计 · Range counting
    你给出开始日与结束日,工具会逐日判断:强制工作日 > 周末/节假日。
    Given a start & end date, the tool checks each date. Priority: forced working overrides weekends & holidays.
  • “包含开始/结束”怎么选? · Include start/end?
    常见两种口径:
    ① 工期“含当日”:比如 1 月 5 日开工,当天算第 1 个工作日 → 勾选“包含开始日”。
    ② 工期“从次日算起”:比如合同签署日不算施工日 → 取消“包含开始日”。
    Two conventions: count the start day as day 1 (include start), or start counting from the next day (exclude start).
  • 节假日清单怎么填? · Holiday list formats
    你可以直接粘贴:每行一个日期;也可以用逗号/空格分隔;支持 YYYY-MM-DDYYYY/MM/DD;支持区间:2026-02-10~2026-02-12
    You can paste dates line-by-line, or comma/space separated. Ranges like “start~end” will be expanded.
  • 调休补班怎么处理? · Make-up working days
    把需要“强制算作工作日”的日期填进“强制工作日”区域即可。它会覆盖周末/节假日判定。
    Put those dates in “Forced Working Days”. They override weekend/holiday rules.
  • 导入/导出 · Import/Export
    导入支持 TXT/CSV(工具会在文件里抓取日期);导出 TXT 会把“工作日/非工作日明细”与统计摘要一起导出,便于发给同事或放进项目文档。
    Import TXT/CSV (date patterns will be extracted). Export TXT includes summary + daily breakdown.
  • 适用场景 · Typical use cases
    项目排期、施工工期、财务结算、客服 SLA、交付倒排、生产计划、学习打卡(按工作日而非自然日)。
    Project scheduling, delivery planning, SLA calendars, billing cycles, production planning, study plans, etc.

免责声明:本工具仅进行日期与规则的机械计算,不内置任何国家/地区法定节假日数据;请以你所在组织/合同约定为准。
Disclaimer: This tool performs rule-based date calculations only and does not ship with official public-holiday datasets. Please rely on your organization/contract calendar.