工作日计算器
计算工作日天数、倒计时,或根据工作日数推算截止日期
计算工作日天数、倒计时,或根据工作日数推算截止日期
工作日是指周一到周五(法定工作日),排除了周六、周日和指定的节假日。计算公式如下:
演算示例:从 2026-05-04 到 2026-05-12,共 8 个自然天。其中包含 5月9日(周六)和5月10日(周日)两天周末。如果 5月8日被设为节假日,则最终工作日 = 8 - 2 - 1 = 5 天。
给定一个开始日期,需要往后推算 N 个工作日,算法会逐天递增日期,遇到周末或指定的节假日则跳过,直到累计的工作日达到 N。这种方法能精准给出项目管理的截止日期。
演算示例:从 2026-05-04 开始,需要 5 个工作日。算法跳过 5月9日(周六)、5月10日(周日),并跳过用户指定的节假日,最终截止日期为 2026-05-12(假设没有额外节假日)。
不算。本计算器默认周一至周五为工作日,周六和周日自动排除。如果您的特殊工时不同,可以通过“排除的节假日”功能手动调整。
在“排除的节假日”输入框中填入日期即可,格式为 YYYY-MM-DD,多个日期用逗号分隔。例如输入 2026-10-01, 2026-10-02 来排除国庆节假期。
倒计时模式自动以今天作为开始日期,计算到目标日期之间还剩余多少个工作日。您无需手动填写开始日期。
项目管理排期、合同剩余工作日计算、请假天数统计、工期估算等。任何需要排除周末和节假日的日期计算场景都适用。
Count days, set a countdown, or find an end date after N working days
Working days are Monday through Friday, excluding weekends and any specified holidays. The formula is simple: Working Days = Total Days - Weekend Days - Excluded Holidays.
No, only Monday through Friday are counted. Saturday and Sunday are automatically excluded.
Enter the dates in the "Excluded Holidays" field, separated by commas. The calculator will skip those days.