ToolCabana

Somar ou subtrair dias

Soma ou subtrai anos, meses e dias.

Favorites are saved in this browser. Find them in My favorites.

Somar ou subtrair dias

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.

Your result appears here

Adjust the values to see your result automatically.

Como usar Somar ou subtrair dias

Add subtract days takes a starting date and adds or subtracts a number of years, months and days, returning the resulting date in YYYY-MM-DD form. Years are applied first, then months, then days. Negative values subtract, and when a month-end day does not exist, such as February 30, the date is moved to the last valid day.

  1. Ajuste os valores; um resultado inicial é calculado a partir dos padrões.
  2. Altere as configurações básicas ou abra o modo avançado para refinar o resultado.
  3. Revise e copie ou baixe seu resultado. Pause os resultados ao vivo para executar manualmente. Fontes ou configurações individuais acima de 20,000 caracteres exigem uma execução explícita.

O que esta ferramenta suporta

Soma ou subtrai anos, meses e dias.

Data inicial
Set this value for your task.
Anos para somar
Set this value for your task.
Meses para somar
Set this value for your task.
Dias para somar
Set this value for your task.

Limites e processamento

Use números finitos, datas válidas e os intervalos mostrados por cada controle. Valores inválidos produzem um erro sem resultado baixável.

Perguntas frequentes

What date is 90 days from today?

Leave the starting date as today, set Days to add to 90 and keep years and months at 0. The result is the calendar date exactly 90 days later, counted through month lengths and leap years.

How do I subtract months from a date?

Enter a negative number in Months to add, such as -6. Negative values work for years, months and days. Ranges are -1000 to 1000 years, -12000 to 12000 months and -365000 to 365000 days.

What happens when I add one month to January 31?

February has no 31st, so the calculator moves the result to the last valid day: February 28, or February 29 in a leap year. Years are added before months, and months before days, which matters when combining all three.

Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

Quais são os limites de entrada?

Use números finitos, datas válidas e os intervalos mostrados por cada controle. Valores inválidos produzem um erro sem resultado baixável.