Compute calendar and workday differences between two dates.
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Date difference | D = end − start in calendar days | ISO 8601 |
| Working days | Exclude weekends and public holidays | Labour calculation |
| Julian day number | JDN conversion for cross-calendar | Astronomical algorithms |
| Leap year rule | Divisible by 4 not 100, or by 400 | Gregorian calendar |
| Timezone effect | Normalise to UTC | ISO 8601 §4 |
| ISO week | Weeks start Monday, Thursday rule | ISO 8601 §4.3 |
日期差计算器用于计算两个日期之间的自然日天数、工作日天数(排除周末)、相隔周数、月数和年数,适用于项目排期、工期统计、合同期限核算等场景。