Date and time

Add or Subtract Days

Shift a date forward or back by days, weeks or months and see exactly which weekday you land on.

FreeNo sign-in
Share

Inputs

Press Enter to calculate · nothing is sent anywhere

Awaiting input

Fill in the fields and press Calculate. Your result appears here and stays in view as you scroll.

The guide

Understanding the Add or Subtract Days

Shift a date forward or back by days, weeks or months and see exactly which weekday you land on.

What each input means

The calculator asks for 4 pieces of information. Every field is validated before the maths runs, so an impossible value is refused rather than quietly producing a wrong answer.

InputWhat it asks forExample
Start dateA calendar date.Today
AmountA number, at least 0.30
UnitChoose one of 4 options.Days
DirectionChoose one of 2 options.Add (into the future)

A worked example using the default inputs

With amount of 30, unit of Days, direction of Add (into the future), the calculator returns Mon, December 7, 2026.

Result lineValue
Resulting dateMon, December 7, 2026
ISO format2026-12-07
Days from start+30 days
Day of year341
Start dateSat, November 7, 2026

The same arithmetic runs whatever you type into the form above, so you can reproduce any figure by matching the inputs listed here.

How this is calculated

Add or subtract the offset converted to a time span, or step the month with clamping so the result stays a real calendar date.

Working values are kept at full precision and rounded only for display. Impossible dates, zero denominators, negative amounts where they make no sense, and out-of-range values are rejected before any result is shown.

How dates and times are counted here

Date arithmetic is done on calendar dates, not on a count of milliseconds, so month lengths and leap days behave the way a wall calendar does. That single decision removes almost every off-by-one you see in spreadsheet date maths.

QuestionThe ruleWhere it is used
How far apart two dates areCount calendar days between them; state whether the end day is includedDate difference, age
Move a date forward or backStep the day or month, then clamp to the target month lengthAdd or subtract days
How long a shift wasFinish − start − breaks, wrapping past midnightTime duration, hours
What time is it elsewhereConvert to UTC, then out through the IANA zone databaseTime zone converter
How old someone isCompleted years, then months, then daysAge

The inclusion convention is the usual source of disagreement. "One week from Monday" is the following Monday, which is seven days later but eight dates if you count both Mondays. Every tool states which convention it used in the result, so two answers that differ by one can both be right.

Daylight saving is not a fixed offset. Zones in the database carry their historical rule changes, which is why a meeting booked across a DST boundary can shift by an hour even though both cities look unchanged.

Three worked examples from this section

1 March to 31 March

Excluding the start date gives 30 days, which is the usual "days between" answer. Counting both ends, as a hotel or a project calendar would, gives 31. Neither is wrong; the convention is the whole difference.

A shift from 14:00 to 22:30 with a 30-minute break

The clock difference is 8 hours 30 minutes. Taking off the unpaid break leaves 8 hours exactly, which is 8.0 in decimal hours for payroll.

Clock difference
8 h 30 m
Less unpaid break
8 h 0 m
Decimal hours for payroll
8.00

09:00 in Sydney, seen from London

During daylight saving Sydney runs at UTC+11. Nine in the morning there is 22:00 UTC the previous day, and London in winter is UTC+0, so the same moment reads as 22:00 on the day before. In July, when Sydney is UTC+10 and London is UTC+1, the gap narrows to nine hours.

How days, months and time zones are counted

Date arithmetic is performed on calendar dates rather than on elapsed milliseconds, so month and year lengths are handled correctly and leap days are respected. Where a difference is reported, the convention used (whether the end date is included) is stated in the result.

  • Time zone conversions use the IANA time zone database, which carries each region's daylight saving rules and their historical changes.
  • Adding months to the 31st can land on a shorter month; the standard convention is to move to that month's last day.
  • Dates are interpreted in your device's local time zone unless the tool asks for a zone explicitly.

Sources and further reading

Reviewed 4 November 2026 · CalcFlow editorial

Common questions

Frequently asked

What happens on 31 January plus one month?+

It lands on 28 February (29 in a leap year). No date rolls forward into the following month.

Does this handle business days?+

Not here — this counts calendar days. Weekend-only shifts need the weekday count on the date difference page.

Keep going

Often used together

Pairs well with

The next question people ask after this one usually sits in another section.