Decide which boundaries belong to the period

'January 1 through January 31' can describe elapsed calendar days or an event held on both boundary dates. The number alone cannot tell you which interpretation is intended. Decide whether each boundary date should be counted before calculating.

2026-01-01 → 2026-01-31Result
Include start, exclude end30 days
Include both31 days
Exclude both29 days

Day offsets and D-day express different things

One day after February 28, 2024 is February 29 because it is a leap year; two days later is March 1. A day offset adds to the base date. Calling the base date 'day one' is a different convention and can produce a one-day discrepancy. Here a zero-day offset returns the base date itself.

With November 12, 2026 as the reference and November 15 as the target, the display is D−3; a target of November 10 gives D+2. Your device's current date may differ from a deadline's local date, so check the reference field. A calendar date alone does not specify local midnight or an exact cutoff time.

A calendar day is not always a 24-hour duration

ToolSites converts entered year/month/day values to UTC calendar-day numbers. This keeps 23/25-hour daylight-saving transitions out of calendar counting. The result counts dates; it does not measure actual time spent on flights, shifts or reservations.

Business days excluding holidays, lunar anniversaries and statutory period rules are outside this tool's scope. For those schedules, use the responsible institution's definition and local calendar instead of inferring a cutoff from this day count.

Percentages also depend on the baseline

120 → 150: (150 − 120) / 120 × 100 = 25%
150 → 120: (120 − 150) / 150 × 100 = −20%

The same change of 30 is a 25% increase from 120 and a 20% decrease from 150. Adding the discount percentage back does not necessarily restore a price. A 20% discount on 80,000 gives 64,000; increasing that by 20% gives 76,800.

Record date inclusion rules alongside day counts, and the denominator alongside percentages. If someone obtains a different answer, align those assumptions before repeating the arithmetic.

References and scope

Written by ToolSites from its own tool behavior and worked examples. The references below support the format definitions; they do not endorse this site.