Add or subtract days, weeks, months or years, or find the interval between two dates.
Days
Weeks
Months (approx.)
Years (approx.)
Months and years are calendar-based and approximate. Weeks and days are exact.
Use Add / Subtract to shift a date by a number of units, or Interval to measure the gap between two dates. All math uses your browser's local time and the native Date object.