Home/Date & Time/Date Add and Subtract

Date Add and Subtract

Add or subtract days, weeks, months, and years from a date.

Enter values

yr
mo
wk
days
—
—
Export to Studio →
Show formula
Advanced · Smart Compare A/B/C
Advanced · 1D & 2D Simulation Lab

About this calculator

Add or subtract days, weeks, months, and years from a date.

Inputs

  • Base date
  • Years (+/-)
  • Months (+/-)
  • Weeks (+/-)
  • Days (+/-)

Example with default values

  • Base date: 2026-01-31
  • Years (+/-): 0 yr
  • Months (+/-): 1 mo
  • Weeks (+/-): 0 wk
  • Days (+/-): 0 days

Result date: 2026-02-28

Formula: 2026-01-31 + (0y, 1m) + (0w, 0d) = 2026-02-28