Date Difference Calculator

How many days, months, and years between any two dates

العربية
First date
1
Second date
2
Weekly days off
3
Public holidays in the periodHolidays that fall on working days, if any
4
Difference
—

Enter both dates to see the difference

Total days
—
Total weeks
—
Working days
—

The difference in years, months, and days and the total days count elapsed days, so the last day is not counted. Working days are counted with both the start and end dates included, excluding the weekly days off you choose. The calculator cannot know public holidays, which vary by country and year, so enter their number yourself, and check with the relevant authority for legal deadlines.

Common uses

How it is calculated

The difference is given in full years, months, and days, using each month's actual number of days rather than an average, and also as total days and weeks for anyone who needs a single figure.

Example: length of service from 10 March 2019 to 29 September 2026

If you need the period for an end-of-service award, use your country’s calculator, which works out the period and the award together: Saudi Arabia, UAE, Kuwait, Qatar.

Frequently Asked Questions

Are the first and last days both counted?

No. The calculator gives the number of days elapsed between the dates. To include both days in the count, add one day to the result.

How do I count working days between two dates?

Choose the weekly days off for your country or workplace and enter the number of public holidays in the period, if any. The calculator counts every day from the start date to the end date (both included), skips the weekly days off, then deducts the holidays. For example, Monday to Friday of the same week is 5 working days with a Saturday–Sunday weekend.

Can I use future dates?

Yes. Enter a future date as either date to see how long remains until it.

How do I find the date after a number of days?

Use our add days to a date calculator, which also works in working days, weeks and months.

Does it handle leap years?

Yes. It counts on the real calendar day by day, so 29 February in leap years is included in the total.

How do I turn the period into decimal years?

Divide the total days by 365.25. For example 2,760 days ÷ 365.25 ≈ 7.56 years — the form some salary and gratuity calculations need.

Related calculators