Days, weeks, and a calendar breakdown
The gap between two dates is the end minus the start, an integer count. Many situations ask for which day rather than how many, and that hinges on counting the first day: from the first to the tenth is nine days exclusive and ten inclusive, so hospital stays, leave and probation periods need the convention fixed first. Beyond the count, the tool breaks the gap into years, months and days, subtracting calendar units rather than dividing by thirty, and falling back to the month's last day when the target month lacks the date. Weeks come from dividing by seven, and the projection mode adds or subtracts a number of days from a start.
Steps
- Choose the gap mode or the projection mode.
- For a gap, enter start and end, since reversing them yields a negative.
- For projection, enter a start date and a day count, then choose forward or backward.
- Calculate for days, weeks, the breakdown, or the resulting date.
- Check the inclusive convention: add one for which day, keep the value for how many apart.
- Copy the result, and record the convention in notes when a contract is involved.
Leap days, month ends, working days
Leap years are the main variable: February 29 to the next February 28 is 365 days but breaks down as a year plus or minus a day depending on the convention. Month ends trip the breakdown, since January 31 to February 28 reads as zero months and twenty-eight days, not one month. Time zones and daylight saving produce twenty-three or twenty-five hour days, which local date fields avoid where timestamps would not. Working days are separate logic excluding weekends and public holidays, so the tool's calendar count needs adjusting for construction schedules and payment terms. Contractual thirty-day windows and limitation periods use calendar days.
Common mistakes
Mixing inclusive and exclusive counting. Treating calendar days as working days. Dividing by thirty for the breakdown. Missing the leap February across a year. Reversing start and end. And computing from timestamps across daylight saving.
Where date arithmetic must defer
This counts calendar intervals and excludes holiday calendars and make-up workdays, which construction and attendance follow from the year's notices. Contract start dates, performance periods and penalty findings follow the contract and the law. Dates spanning calendar reforms need specialist tools. And asserting a limitation period from a day count alone risks error.