The Date to Date Calculator lets you find the number of daysmonthsand years between two dates.
Getting Started with Your Calculation
- First enter the Start Date and End Date by either
- using the input fields;
- clicking on the calendar icon to select your date;
- or clicking on the Today link to get today's date.
- Then click Calculate Duration to get your result.
Additional Options
Include end date
Checking Include end date in calculation counts the final day in your result.
If you want to count how many days something lastedfor examplean event that lasted from the 1st to and
including the 4th day of the monththis should be checked (result: 4 days.) Otherwisethe last day would
not be counted (returning 3 days).
If you want to calculate the age of somethingleave this unchecked (the last/end date is not counted as
one additional day).
Add times
The Add time fields link takes you to the Time Duration
Calculator where you can add hoursminutesand seconds to your calculation.
Add time zones
The Add time zone conversion link takes you to the Time
Zone Duration Calculator where you can calculate the duration between a point in time in one time
zone and a different point in time in another time zone.
Remove holidays and weekends
The Count only workdays link takes you to the Business Date
Calculator where you can exclude different dayslike weekends and public holidays.
Frequently Asked Questions (FAQ)
Why are the years and months wrong?
The calculator adds or subtracts the larger time units before the smaller time units. This means that it
adds yearsthen monthsthen days. Although the total number of days in January (31) and February (28) are
differentboth are counted as 1 month. In some casesthis method can lead to unexpected results.
For examplein a common yearthe time span between January 28 and
March 1 is calculated as 1
month and 1 day (January 28 + 1 month = February 28; February 28 + 1 day = March 1).
Howeverthe time span between January 31 and March 1 is also
shown as 1 month and 1 day. The calculator first adds 1 month to jump from January to February. But
since February only has 28 days in a common yearit lands on February 28 before adding 1 day to arrive at
March 1.
This may seem illogical at firstbut the structure of our
calendar means that there is no perfect way of calculating dates including months and years.
Does the calculator include leap years?
Does the calculator include leap seconds?
Does the calculator account for Daylight Saving Time (DST) clock changes?
Nothis calculator does not take DST changes into account.
Why are the date fields in the wrong order?
You can change the order of the DayMonthand Year
fields by selecting a different Short Date format in My Units.
Can I edit my calculation?
To edit your calculationscroll up to the top of the pagemake your changesand calculate again. The
Make adjustment and calculate again is a shortcut to the top of the page.
Can I exclude the first day in my results?
In our calculations the first day of the entered period is always included. Howeverwe do have the option
to include the end day. Try selecting the day after if you don't want a day to count.
Why can I include the end date?
Checking Include end date in calculation counts the final day in your result.
If you want to count how many days something lastedfor examplean event that lasted from the 1st to and
including the 4th day of the monththis should be checked (result: 4 days.) Otherwisethe last day would
not be counted (returning 3 days).
If you want to calculate the age of somethingleave this unchecked. See "What can I use the Date
Duration Calculator for?" for 2 examples of calculations.
How does your algorithm work? Can you help me program my own?
We are a small team with very extensive websites to managesounfortunatelywe do not have the capacity
to share detailed information about our algorithms or provide programming help.
Why does the result show the wrong days of the week?
What can I use the Date to Date Calculator for?
Here are 2 exampleswith all the fields filled injust click the Calculate duration after
following the links.
What kinds of date calculators do you offer?
- Calculating the duration between 2 points in time:
- Adding or subtracting days:
Where can I find more information about the site and its services?
The General FAQ Page answers your questions about timeanddate.comour
servicessite-wide settingscustomization optionsadvertising opportunitiesand copyright policies.