Free calculator

Date Calculator

Add or subtract whole years, months and days from a calendar date with end-of-month handling.

How to use this tool

Find a calendar date before or after a starting date using positive or negative whole-number offsets.

Transparent method

Formula and method

Years and months are applied first with the day clamped to the last valid day of the target month. Days are applied afterward.

Example

Adding one month to 31 January 2024 produces 29 February 2024 because the target month ends on the 29th.

Assumptions and limits

  • Offsets must be whole numbers.
  • End-of-month dates are clamped rather than rolled into the following month.

Frequently asked questions

How are calendar dates handled?

CorelyUp uses calendar dates rather than elapsed hours, so daylight-saving time changes do not add or remove a day.

Are leap years included?

Yes. The date engine validates real calendar dates and includes leap days when they fall inside the selected range.

Related guides

Related tools