Date & Time

Subtract Months from Date with Worked Examples

Subtract calendar months from a date, clamping to the last day of shorter months. Enter start date and months to subtract and read the result straight away. Example: start date 2026-03-31 and months to subtract 1 → 2026-02-28.

01

Your inputs

Start with the example, or enter your own values.

Processed in your browser. Your inputs stay on this device.

02

Your result

A little clarity, coming right up.

Make room for the answer.

Enter your values and run the tool. Your result will appear here.

How to use Subtract Months from Date

Enter a start date and a whole number of months. 31 March minus one month gives 28 February (29 in a leap year).

Examples

  • With the default values
    2026-02-28
  • With months to subtract set to 2
    2026-01-31

Limitations and assumptions

Confirm assumptions, units and applicable local rules before relying on results. Detailed content, accessibility and edge-case review remains ongoing.

Frequently asked questions

What does the Subtract Months from Date do?

Subtract calendar months from a date, clamping to the last day of shorter months.

How does the Subtract Months from Date work?

Enter a start date and a whole number of months. 31 March minus one month gives 28 February (29 in a leap year).

What should I keep in mind when using the Subtract Months from Date?

Confirm assumptions, units and applicable local rules before relying on results.

Can I see an example of the Subtract Months from Date?

Example: start date 2026-03-31 and months to subtract 1 → 2026-02-28.

Is the Subtract Months from Date free to use?

Yes. It is free, needs no account and runs in your browser.