Add or subtract days

Find a calendar date before or after a starting day.

Calculation inputs

Resulting date

2024-03-01
QR code

How the calculation works

The Gregorian date is converted to a day number, the offset is added and the result is converted back to a date. Zero returns the same date. The model uses calendar dates without times or time zones.

Example

February 28, 2024 + 2 days = March 1, 2024.

Leap-year rule — RFC 3339

Method checked