Date Subtract Calculator
Subtract a number of days, weeks, or months from a date to find an earlier date.
Enter your values and click Calculate
How It Works
The start date is first validated with a UTC round-trip check that rejects impossible dates like February 31. Weeks are converted to days (weeks × 7) and added to the day subtraction total. Months are subtracted by passing a negative month offset to JavaScript's Date.UTC() constructor: new Date(Date.UTC(year, month − subtractMonths, day − totalDays)). The Date constructor automatically handles overflow in both directions — subtracting past month 0 rolls back the year, and subtracting past day 1 rolls back the month. The result is formatted as YYYY-MM-DD (ISO 8601) and a human-readable total day count is calculated for reference.