Date calculator
Add days, months, or years, or count days with optional inclusive endpoints.
Use a negative whole number to go back.
Calendar dates from 1900 to 2100. Today uses your device’s local date.
Choose dates to see your answer.
Dates must be between January 1, 1900 and December 31, 2100. Offsets are whole numbers. February 29 + 1 year clamps to February 28. Adding 2 months once can differ from adding 1 month twice; clipped days are not restored automatically. Weekends and holidays are included.
The formula, made simple
Add or subtract whole calendar days, months, or years, or count signed days between two dates. Calendar arithmetic is separate from fixed-hour durations.
Elapsed days = end date − start date. Include both dates adds one to the absolute day count and retains its sign. Month/year offsets are applied once, keeping the day where possible or clamping to month-end; Keep month-end preserves a starting month-end.
A worked example
January 31, 2025 + 1 month = February 28, 2025. April 30 + 1 month gives May 30 with Clamp day, or May 31 with Keep month-end. January 1 to January 2 is 1 elapsed day or 2 inclusive days.
A few useful answers
Are both the start and end dates included?
By default the result is elapsed days: the same date is 0. Enable Include both start and end dates for inclusive counting: the same date is 1. Reversed ranges keep a negative sign.
Does daylight saving time affect the result?
No. The calculation uses calendar days, so a clock change does not turn a day into a fractional result.