Beginner

Date Calculator — Add or Subtract Days from a Date

Pick a start date, choose to add or subtract days, and instantly find the resulting date — with the day of the week, week count and a timeline overview.

Sākuma datums

Darbība

dienas

Result date
Wednesday, August 12, 2026
Result date (ISO)
2026-08-11
Day of week
Wednesday
Days moved
30
Nedēļas + dienas
4w 2d
Approx. months
1
2026-07-132026-08-1130 dienasTimeline from start date to result date
Rezultāti ir aplēses tikai vispārējai informācijai un nav profesionāls padoms — vienmēr neatkarīgi pārbaudiet svarīgus rezultātus, pirms uz tiem paļaujaties. Lasīt pilnu atrunu.
Ātrā atbilde

Kā darbojas šis kalkulators?

Result date = Start date + N days (or − N days). Enter a date and a day count; the calculator shifts the date by the exact number of days using real timestamps — leap years and month lengths are handled automatically. The day of week, week count and a timeline are shown for the result.

Formula
Result date = Start date ± N days
How this is calculated

The calculator adds or subtracts a whole number of days directly to the timestamp of the start date, anchored at midnight (00:00). Because it works on real timestamps, leap years (including February 29) and month-length differences (28-31 days per month) are handled automatically — no 30-day-month approximation is used for the result date itself.

The result is displayed in human-readable form (day of week, month name, year) as well as in ISO 8601 format (YYYY-MM-DD) for use in spreadsheets or code. The timeline bar shows the direction and span of the shift at a glance.

Approximate months are calculated by dividing the total days by 30.4375 (the average Gregorian calendar month, 365.25 ÷ 12). This is only an approximation — the exact calendar months depend on which specific months are crossed. For precise month arithmetic, see the date-difference calculator, which walks month-by-month.

Biežāk uzdotie jautājumi

Leave the start date as today, choose "Add days" and enter 30. The result date changes as the number of days changes, taking leap years and different month lengths into account automatically.

Yes. The calculation is based on actual timestamps, so February 29 is counted correctly when the span crosses a leap year.

The day of the week is read directly from the result Date object using JavaScript's standard calendar, so it is always correct regardless of how many days were added.

Pazīstams arī kā

datums
datumu kalkulators
pievienot dienas datumam
atņemt dienas no datuma
kāds datums pēc 30 dienām
aprēķināt datumu
cik dienas no šodienas
datums plus dienas

APA

TG we-Calculate Editorial Team. (2026). Date Calculator — Add or Subtract Days from a Date [Online calculator]. TG we-Calculate. https://we-calculate.com/lv/calculator/date-calculator

Chicago

TG we-Calculate Editorial Team. "Date Calculator — Add or Subtract Days from a Date." TG we-Calculate. 2026. https://we-calculate.com/lv/calculator/date-calculator.

IEEE

TG we-Calculate Editorial Team, "Date Calculator — Add or Subtract Days from a Date," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/lv/calculator/date-calculator

BibTeX

@misc{wecalculate_date_calculator, title = {Date Calculator — Add or Subtract Days from a Date}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/lv/calculator/date-calculator}}, year = {2026}, note = {TG we-Calculate} }

Vai šis kalkulators jums palīdzēja?