Diferença de Datas

Find the exact number of days, months and years between two dates

100% gratuito. Funciona totalmente no seu navegador: seus arquivos e dados nunca saem do seu dispositivo e nada é enviado para nenhum servidor.

arrow_forward
1
Years
12
Total Months
52
Total Weeks
365
Total Days
8,760
Total Hours
31,536,000
Total Seconds
calendar_today 1 year, 0 months, 0 days
Quick Presets

Sobre esta ferramenta

Counting days between dates by hand goes wrong in predictable ways: months have different lengths, February changes size every four years, and it is genuinely easy to be off by one depending on whether you count both end dates or neither. The ambiguity matters in practice. A contract running "30 days from 1 March" ends on a different day depending on whether you include the first day, and notice periods, visa durations and payment terms all hinge on exactly that convention. This tool gives you both the total number of days and a broken-down years, months and days figure, because those answer different questions - "how many days until the deadline" and "how long have I lived here" are not the same request. Leap years are handled correctly, which is where manual counting most often fails. Everything is calculated in your browser.

Como usar esta ferramenta

  1. Enter the first dateThe earlier date, or the start of the period you are measuring.
  2. Enter the second datePast or future - the order does not matter, the span is calculated either way.
  3. Read both formatsTotal days for deadlines and durations; years, months and days for age and tenure.
  4. Check the counting conventionIf a contract or form specifies inclusive counting, add one day to the total.

Por que usar

  • Handles leap years and varying month lengths correctly, which manual counting routinely gets wrong.
  • Gives both total days and a years/months/days breakdown, since each answers a different question.
  • Works in either direction - past or future dates, in any order.
  • Runs in your browser with nothing recorded.
  • No account and no limit.

Usos comuns

  • Calculating exact age in years, months and days for a form.
  • Counting days until a deadline, exam, wedding or trip.
  • Working out project duration or employment tenure.
  • Checking a notice period or contract term.
  • Confirming visa or permit duration in days.

Dicas para melhores resultados

  • Decide whether your count should be inclusive before you rely on it. Legal and contractual periods frequently count the first day.
  • For age, the years/months/days breakdown is what forms usually want, not the total day count.
  • Watch date format when typing - 03/04 is March 4th in the US and 3rd April almost everywhere else.
  • For working days rather than calendar days, the Business Days Calculator excludes weekends.
  • Anniversary dates in leap years are worth double-checking, particularly anything dated 29 February.

Erros a evitar

  • Being off by one because the counting convention was never established - inclusive versus exclusive changes the answer.
  • Ignoring leap years when counting manually, which quietly adds a day per four years.
  • Confusing calendar days with working days on a deadline that specified business days.
  • Mixing up day-first and month-first date formats, which produces a plausible but wrong answer.
  • Assuming "one month" always means 30 days. It means the same date next month, which is 28 to 31 days.

Perguntas frequentes

Yes - rather than just showing total days, it typically gives a combined breakdown (like "2 years, 3 months, 15 days") for a more intuitive sense of the time span.

Yes - the calculation properly accounts for leap years when determining the exact difference between dates.

Yes - enter any two dates, whether both in the past, both in the future, or one of each, and the tool calculates the span between them.

That depends on the context, and it is worth checking. Legal notice periods and contract terms often count inclusively, meaning you add one day to the plain difference. Deadlines and countdowns usually do not. The convention should be stated in whatever document set the period.

Because a month means the same date in the following month, which is 28, 29, 30 or 31 days depending on where you start. This is why total days and the years/months/days breakdown give different-looking answers for the same period.

No. The calculation runs in your browser and nothing is transmitted or saved.

Yes. Date Difference is free for normal use with no account required, and ToolBox does not add a watermark to your result.

Most tools in this category run in your browser so the file stays on your device. If a tool needs a temporary server job, files are handled for that job only and are not kept as a lasting archive.

As pessoas também pesquisam

  • date difference calculator
  • days between two dates
  • how many days until
  • calculate exact age
  • date duration calculator
  • days calculator inclusive
  • time between dates in years months days

Related guides