Guides

How to Find a Date by Adding or Subtracting Days

Move a date forward or backward with the date calculator: plus and minus values, a result-date formula, an input table, and a three-month course example.

Miryori Editorial Team3 min read
Try the Date Calculator

Sometimes you know the starting date and the length of a plan, and what you need is the date at the other end. A three-month course, a six-week training block or a deadline 45 days from today all ask the same question in reverse: which date does a duration point to?

To find a date from a duration, enter an initial date, choose the plus or minus selector and type the time difference with its unit. The calculator returns resulting date = initial date + (selector value × time difference). The selector is +, worth 1, for a future date, or −, worth −1, for a past one. Enter −7 days to move backward, or 3 months to move forward.

What is the resulting-date formula?

The calculator's second equation uses two date fields and a signed duration:

resulting date=initial date+(add or subtract)×time difference\text{resulting date} = \text{initial date} + (\text{add or subtract}) \times \text{time difference}

The add-or-subtract selector supplies the sign. Its two options come straight from the calculator's dataset:

Selector Value Effect on the initial date
+ 1 Adds the time difference, moving forward
− −1 Subtracts the time difference, moving backward

The calculator fields map onto that equation as follows:

Field Label in the calculator Role
Initial date (date1a) Initial date The date you start from
Add or subtract (addOrsub) + or − Chooses the sign, 1 or −1
Time difference (time_differencea) Time difference The number and unit to move by
Resulting date (date2a) Resulting date The computed answer

How do I move a date with the calculator?

Choose a starting date, set the selector to plus or minus, enter the duration in the Time difference field and read the Resulting date. The source gives these example durations and directions:

Goal described in the source Duration Direction
Which date is 45 days from today 45 days Forward
Finding a date in the past −7 days Backward
Subtracting days, written in the input help −10 days Backward
A three-month tap dancing course 3 months Forward
The same course expressed in days 90 days Forward
A six-week training plan six weeks Forward

Worked example: a three-month tap dancing course

Suppose you start an intense three-month tap dancing course today and want to know when it ends. Enter today's date as the Initial date, set the selector to +, change the unit to months and type 3 in the Time difference field. With the sign at 1, the equation becomes initial date + 1 × 3 months, and the Resulting date field shows the date three months from the start. The source also describes the same planning task as asking what day 90 days from today falls on; switching the unit back to days and entering 90 answers that version instead. To look backward, set the selector to − or type a minus sign before the number, as in −7 days.

Can I add weeks, months or years instead of days?

Yes. The time difference is entered with a unit, and the source explicitly suggests changing the unit to months for a three-month course. A six-week training plan is the same operation with weeks as the unit, and the date calculator supports years as well. Pick the unit first, then enter the count, and the Resulting date updates immediately.

FAQ

How do I find a date in the past?

Type a minus sign in front of the number in the Time difference field, for example −7 days, or choose the − selector. Either way the sign in the equation becomes −1, so the duration is subtracted from the initial date.

What does the Resulting date field show?

It is the calculator's output field (date2a). Once the initial date, the selected sign and the time difference are set, it shows the date reached by applying the signed duration.

Can I find which date is 45 days from today?

Yes. Use today as the Initial date, keep the + selector and enter 45 with the unit set to days. The Resulting date is the date 45 days from today.

References

  • Omni Calculator, "Date Calculator" — source article for the add-or-subtract equation, selector values, calculator fields and example durations.
  • Standard calendar arithmetic for advancing a date by days, weeks, months or years.
Calculator

Date Calculator

Date: date calculator allows you to conveniently check the time difference between two dates and add or subtract days from a date. Free, fast and private.

Try the Date Calculator