How to use it
1. Choose datesSelect a start and end date.
2. Choose the counting ruleInclude both endpoints for event or operating days.
3. Shift a dateEnter a positive or negative number of days.
DATE DIFFERENCE AND D-DAY
Count days between two dates, include both endpoints when needed, or find a date a set number of days before or after another.
Including both dates counts the start and end date as full calendar days.
Calendar differences use UTC day units to avoid daylight-saving transitions.
1. Choose datesSelect a start and end date.
2. Choose the counting ruleInclude both endpoints for event or operating days.
3. Shift a dateEnter a positive or negative number of days.
July 1 to July 31 has a 30-day difference, or 31 days when both endpoints are counted.
Add 100 days to a base date, then adjust separately if the first day must count as day one.
Enter -7 to calculate the date seven days before the base date.
The same two dates can produce different totals depending on whether endpoints are included.
The default difference from July 1 to July 2 is one day. It measures calendar dates, not elapsed hours.
Use it when the first and last operating days both count. The same start and end date then equals one day.
Using fixed 24-hour UTC units prevents daylight-saving days of 23 or 25 hours from changing the calendar result.