GlobalUso gratuito

Calculadora de diferença entre datas

Conte os dias corridos e as semanas equivalentes entre duas datas, sem incluir a data final.

Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.

Entrada

Dica: pressione Ctrl + Enter para executar

Seu resultado

Seu resultado aparecerá aqui.

Por enquanto, a ajuda detalhada abaixo está disponível apenas em inglês.

Sobre esta ferramenta

How many days until a holiday, between two invoices, or since a project started? This calculator counts the calendar days from a start date to an end date and shows the same span in weeks. It uses calendar dates only, so daylight-saving changes and time zones do not shift the answer.

The end date is not counted, which matches how most people count "days until": from Monday to Wednesday is 2 days. If you need both the first and the last day included, for example for a hotel stay counted in nights versus days, add one.

Como usar

  1. Pick the start date.
  2. Pick the end date (it can be earlier than the start; the result is then negative).
  3. Run the calculation.
  4. Read the number of days and the equivalent in weeks; add 1 if you want to include both end points.

Como o cálculo funciona

Both dates are converted to midnight UTC and subtracted; the difference in milliseconds is divided by 86,400,000. Leap days are counted naturally because real calendar dates are used.

(end UTC − start UTC) ÷ 86,400,000

Exemplo prático

From March 1, 2026 to December 25, 2026 is 299 days, or 42.71 weeks. A shop planning a Christmas campaign that starts on March 1 therefore has just under 43 weeks of preparation.

Exemplo de entrada e resultado

2026-01-01 → 2026-02-01 = 31

Limitações

  • Whole calendar days only; for hours and minutes use the time duration calculator.
  • Gregorian calendar only.
  • No public holiday awareness.

Última atualização:

Perguntas frequentes

Is the end date included?

No. The count is the number of days you move forward from the start to reach the end. Add 1 to include both dates.

Does it count only working days?

No, every calendar day counts. Use the working days calculator for Monday-to-Friday days.

Do leap years matter?

Yes, they are handled automatically: February 29, 2028 counts as a day.

Solução de problemas

The result is negative.

The end date is before the start date. Swap them for a positive count.

I am one day off from another calculator.

Some tools include both the start and the end date. Add 1 to match them.

I need months and days instead.

Use the age calculator, which reports completed years, months and days between two dates.

Privacidade & Uso gratuito

Meus dados são armazenados?

Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.

Esta ferramenta é gratuita?

Sim. Não é preciso cadastro nem pagamento.

Processado no seu navegador

Próximos passos úteis