Date calculator
Compare two dates or shift a date. Leap years, month lengths, and year boundaries are handled in the shared calendar library.
Inclusive vs exclusive
Exclusive days count midnights between dates (1 Jan to 3 Jan = 2). Inclusive adds one so both endpoints are counted. Negative spans are flagged when the end is earlier.
Questions
What happens to 31 January plus one month?
The day is clamped to the last day of February: 28, or 29 in a leap year.
Do business days skip holidays?
No. Only Saturday and Sunday are skipped. Public holidays vary by country and are not applied.