Years Between Two Dates Calculator
The years between two dates calculator will help you find the time difference between any two dates in terms of years. Perfect for working out people's ages. And with Omni Calculator's variable unit switcher, you also have the choice of displaying the results in months, days, hours, etc.
Read on to find out about:
- What is a year, and how is it defined?
- How to calculate years between two dates.
- How long is 30 months?
- How long ago was 2013?
What is a year?
A year is the time it takes for the Earth to complete one complete circuit around the Sun. Unfortunately, the Earth doesn't finish its journey in a whole number of days – very inconvenient.
In days, a year is 365.25 days long. Since we don't have the concept of quarter days on our calendars, we add an extra day in a year, every four years. So over a period of 4 years, the math works out. Well almost. From time to time, we also add leap seconds to keep reality aligned with the calendar.
Since there are 86,400 seconds in a day, the number of seconds in an average year is 31,557,600 seconds (86,400 × 365.25).
How to use the years between two dates calculator
It is really easy to use the years between two dates calculator.
- Enter a start date in the calculator's "From" field.
- Next, enter the date you want to end on in the "To" field.
- You will immediately see the length of time between these two dates in years as a decimal number.
- Additionally, you can change the output to other time units, such as months, weeks, and days.
In the years between two dates calculator, the end date is not taken into account by default. Adding it is as simple as clicking the
Advanced mode button at the bottom of the calculator and selecting "Yes" to the "Include end date?" field.
Example of calculating the number of years between two dates
To calculate the number of years between two dates in decimal form, first, find the number of days between the dates. Don't forget to include any extra days (i.e., February 29) in leap years between the dates.
Let's take the time between today's date (July 11, 2022) and January 1, 2020. Counting the days on the calendar, there are 922 days between the two dates, including one February 29. To get the number of years, divide this number by 365.25:
922 / 365.25 = 2.524 years
And that's an example of how to calculate the years between two dates.
Other time counter calculators
Other time counting calculators that may be very soon of interest to you are listed below:
How long ago was 2013?
9 years. That's assuming the year is still 2022. But it's straightforward to calculate the number of whole years between two dates:
- Take the year number of the current date. That's 2022, in this example.
- Then take the year number of the date in the past. 2013, in this case.
- Subtract 2013 away from 2022.
- The result is 9 years.
How long is 30 months?
Two and a half years. By definition, there are 12 months in a year. So you convert a number of months to years, divide the number of months by 12. So in this case, 30/12 = 2.5 years.