Free online tool
Date Difference Calculator
Find the days between two dates — with weeks, months, years, business days, and exact totals in hours, minutes, and seconds. Free, instant, no signup.
Quick answer
Quick answer
From 1 January to 5 January 2026 is 4 days — 5 days if you include the end date — with 2 business days (Monday to Friday). The calculator also gives weeks, months, years, and exact totals in hours, minutes and seconds, plus an add/subtract mode that returns the resulting date and weekday.
Open the interactive Date Difference Calculator
The interactive tool loads in the page. Enable JavaScript to enter data, process content, and download results.
Example result — no JavaScript needed to read this
Example for 1 January 2026 to 5 January 2026.
| Elapsed days | 4 days |
|---|---|
| Including the end date | 5 days |
| Calendar span | 0 years, 0 months, 4 days |
| Business days (Mon–Fri) | 2 days |
Common date spans — calendar vs business days
*261 weekdays fall inside calendar year 2026 including both 1 January and 31 December; 260 business days lie between them excluding the end date.
| Span | Calendar days | Business days (approx.) |
|---|---|---|
| 1 week | 7 | 5 |
| 2 weeks | 14 | 10 |
| 30 days | 30 | ~22 |
| 90 days | 90 | ~64 |
| 6 months | ~181–184 | ~130 |
| 1 year (2026) | 365 | 261* |
Date plus N days — from 12 November 2026
Dates counted from 12 November 2026. These dates go stale daily: they are correct as of the last update on 12 November 2026 and are refreshed only when the site is rebuilt. For any other start date, use the tool's “Add / subtract days” mode.
| Days from today | Date | Day of the week |
|---|---|---|
| 30 | 12 December 2026 | Saturday |
| 60 | 11 January 2027 | Monday |
| 90 | 10 February 2027 | Wednesday |
| 180 | 11 May 2027 | Tuesday |
| 365 | 12 November 2027 | Friday |
About this tool
About the Date Difference Calculator
Find the days between two dates — with weeks, months, years, business days, and exact totals in hours, minutes, and seconds. Free, instant, no signup.
Detailed guide
How to get useful results from Date Difference Calculator
Count days between two dates accurately
Counting days between dates by hand is error-prone because months have different lengths and leap years add an extra day. This free online date difference calculator compares two calendar dates and shows which one is earlier, the absolute number of days between them, the result in weeks and remaining days, and an approximate calendar breakdown in years, months, and days. Project managers, students, travelers, HR teams, and event planners worldwide use it to plan deadlines, count down to holidays, measure notice periods, calculate trip lengths, and track milestones without a spreadsheet.
How the calculation works
The calculator uses date-only arithmetic, so time zones and daylight saving time changes do not shift the result. The day count measures elapsed days from the start date to the end date, which means the start date is not counted as a full day. If you need an inclusive count, for example for a booking that includes both the first and last day, add one to the result. When the end date is earlier than the start date, the calculator shows the signed order so you can see the interval runs backwards, while still reporting the absolute distance.
Business days and practical tips
This tool counts calendar days, including weekends and public holidays. If you need working days, remember that weekends and national holidays vary by country, such as Friday and Saturday weekends in some Middle Eastern countries, so subtract them according to local rules. For contracts, visas, warranties, and legal deadlines, check whether the relevant rules count calendar days or business days and whether the first day is included. Use the week breakdown for pregnancy tracking, training plans, or sprint planning, and the calendar breakdown for anniversaries and service lengths.
Date math is also useful for personal planning. Count the days until a wedding, graduation, product launch, exam, or vacation, measure how long you have kept a habit, or check how many weeks remain before a subscription renewal. Clear numbers make it easier to plan tasks and set realistic schedules.
UAE working days: the Saturday–Sunday weekend
In the UAE, the working week runs Monday to Friday, and the weekend is Saturday and Sunday. This has been the case since January 2022, when the UAE moved its weekend from Friday–Saturday to Saturday–Sunday to align with global markets. Anyone still using a Friday–Saturday weekend for Dubai or Abu Dhabi calculations is using an outdated calendar.
That means this calculator's business-day count already matches UAE working days: it counts Monday to Friday and skips Saturday and Sunday. Use it to count working days between two dates for Dubai employment, visa processing times, notice periods, and project deadlines. For example, the business days between 1 March 2026 and 31 March 2026 tell you how many UAE working days fall in that month.
One exception to note: during Ramadan, working hours are reduced (private-sector daytime staff work a maximum of 6 hours per day), but the working days themselves do not change — Monday to Friday still count as working days.
UAE public holidays 2026 and working-day counts
The business-day count excludes weekends but does not subtract public holidays, so for an exact UAE working-day total, subtract the public holidays that fall inside your date range. The UAE's fixed holidays are New Year's Day (1 January) and National Day, Eid Al Etihad (2–3 December). The Islamic holidays shift each year with the lunar calendar and are confirmed by moon sighting: Eid Al Fitr (around 20–22 March 2026), Arafat Day (26 May 2026), Eid Al Adha (27–29 May 2026), Islamic New Year (around 15–16 June 2026), and the Prophet's Birthday (around 24–25 August 2026).
Example: to count UAE working days for a project running 1–31 May 2026, take the business-day count for that range and subtract Arafat Day and the three Eid Al Adha days that fall on weekdays. Some holidays that fall mid-week are moved to the start of the week by official announcement, so check the UAE government portal for the final dates before relying on a count for contracts or leave planning.
This same date math powers other UAE calculations: the length of service between a joining date and a leaving date feeds directly into the end of service gratuity, which you can calculate on the UAE Gratuity Calculator.
Is the end date included?
The calculator reports elapsed days between two dates, which means the start date is not counted as a full day. From 1 January to 5 January 2026 is 4 elapsed days. If you need a count that includes both event dates — for a booking, a course, or a leave request — add one day, or tick the "Include the end date" box and the tool does it for you: the same range becomes 5 days.
This is the most common reason two counts disagree. Spreadsheets agree with the elapsed count: Excel's =DATEDIF(start, end, "D") and =end - start both return 4 for 1 January to 5 January. If a colleague counts 5, they are almost certainly counting inclusively. Decide which one your contract, visa form, or hotel booking expects before you report the number.
Add or subtract days from a date
Switch the tool to "Add / subtract days", enter a start date and a number of days, and it shows the resulting date and weekday. For example, 30 days after 31 January 2026 is 2 March 2026, a Monday; 1 March 2026 minus 1 day is 28 February 2026; 90 days after 1 January 2026 is 1 April 2026. Enter a negative number to subtract instead of adding.
This is the mode to use for deadlines and countdowns: 30, 60, and 90 days from today, a visa expiry date, a project delivery date, a Net-30 invoice due date, or the last day of a notice period. Leap years are handled automatically, so adding days across 29 February 2024 lands on the correct date.
How we calculate the difference
The calculator uses date-only arithmetic at UTC midnight, so time zones and daylight saving time changes cannot shift the result. Each date is converted to a serial day number and the day count is (end date - start date) divided by 86,400,000 milliseconds per day. Leap years are handled by the calendar itself: 29 February 2024 is a real day, so 28 February to 1 March 2024 is 2 days, while the same range in 2026 is 1 day.
The calendar span is built from whole months: 15 January to 10 March 2026 is 1 month and 23 days, because 15 January plus one whole month is 15 February, and 15 February to 10 March is 23 days. Business days count Monday to Friday and skip the public holidays you list in the holidays box, one YYYY-MM-DD date per line.
Common date spans
Some spans come up again and again — a week, 30 days, 90 days, a year. The reference table below lists the calendar days and the approximate business days (Monday–Friday) for each, so you can sanity-check a result at a glance.
The business-day figures are approximate because a span that starts on a Friday covers fewer weekdays than one that starts on a Monday. For the exact count on your dates, use the calculator with the business-days toggle.
Leap years and edge cases
2026 is not a leap year (February has 28 days); 2028 is. A range that crosses 29 February gains one extra day versus the same range in a non-leap year.
Month boundaries: adding "1 month" to 31 January lands on 28 February (29 in a leap year) in most date systems — the rule is "clamp to the last day of the month", not "add 30 days".
Common mistakes
The five mistakes that cause most wrong counts: the off-by-one from the include-end-date toggle; forgetting the leap day; counting months as 30-day blocks; mixing time zones when dates come from different systems; and assuming Saturday is always a day off — some workweeks include it.
Date plus N days
To find the date a number of days from today, add the days to 12 November 2026: 30 days from today is Saturday, 12 December 2026; 60 days is Monday, 11 January 2027; 90 days is Wednesday, 10 February 2027; 180 days is Tuesday, 11 May 2027; and 365 days is Friday, 12 November 2027. The table below lists the same dates. These dates are fixed at the last update — use the tool's “Add / subtract days” mode for a date counted from any other day.
If a deadline says “within 30 days of 12 November”, count 12 December 2026 as the last day, and check whether the starting day counts — some deadlines count it, which would make the last day 11 December. When the wording matters, count the days, not the dates.
Quick guide
How to use this tool
- 01Choose a start date and an end date.
- 02Read the signed difference and absolute elapsed-day count.
- 03Use the calendar breakdown for planning; this counts elapsed dates, not inclusive event days.
- 04Tick "Include the end date" for event-day counts, or switch to "Add / subtract days" to find a future or past date.
- 05List public holidays (one YYYY-MM-DD date per line) to exclude them from the business-day count.
Capabilities
Features and supported formats
- Shows which date is earlier or later.
- Reports elapsed days, weeks and calendar years/months/days.
- Handles leap years and past dates without sending dates to a server.
- Totals in hours, minutes, and seconds.
- Business-day (Monday–Friday) count for work planning.
- Add or subtract days mode with the resulting date and weekday.
- Exclude listed public holidays from the business-day count.
Supported formats
Inputs: calendar dates, optional end-date inclusion and holiday dates. Output: signed elapsed days, weeks, calendar breakdown, totals in hours/minutes/seconds, and business days; add/subtract mode outputs the resulting date and weekday.
Answers
Frequently asked questions
Does the day count include both dates?
No. It reports elapsed days between the date boundaries. For a count that includes both event dates, add one day to the absolute result.
What if the end date is earlier?
The signed result is negative, while the absolute duration is still shown as a positive number.
Does the calculator count weekends?
Yes. It counts calendar days, including weekends and holidays. Business-day rules vary by country, so subtract non-working days separately if needed.
Can I compare dates in different years?
Yes. You can compare any two calendar dates, including dates many years apart, and leap years are handled automatically.
How do I calculate the date difference between two dates?
Enter a start date and an end date into the date difference calculator. It instantly shows the number of days between the dates, plus the breakdown in weeks, months, and years, and exact totals in hours, minutes, and seconds. The start date is not counted as a full day; add one day to the result if you need an inclusive count that includes both event dates.
How can I count only business days between two dates?
The calculator shows a business-day (Monday to Friday) count alongside the calendar-day result. For contracts and notice periods, also confirm whether your agreement counts calendar days or business days, since public holidays are not subtracted automatically.
What is the Excel formula to find the difference between two dates?
In Excel, use =DATEDIF(start_date, end_date, "D") for days, "M" for months, and "Y" for years. For example, =DATEDIF(A1, B1, "D") returns the number of days between the dates in cells A1 and B1. This online date difference calculator gives the same result without a spreadsheet.
Can I use this as a birthday countdown or age calculator?
Yes. Enter today as the start date and a future birthday as the end date to count down the days, weeks, and months until it. Entering a date of birth as the start date and today as the end date shows the age-style breakdown in years, months, and days.
What are the working days in Dubai?
Working days in Dubai are Monday to Friday, and the weekend is Saturday and Sunday. The UAE moved to this weekend in January 2022, replacing the old Friday–Saturday weekend. Government offices, banks, and most private companies follow the Saturday–Sunday weekend.
How do I calculate business days in the UAE?
Count Monday to Friday and skip Saturday and Sunday — that is exactly what this calculator's business-day result does, so it already matches UAE working days. For an exact total, subtract any UAE public holidays inside your date range, since the business-day count excludes weekends but not holidays.
How many UAE public holidays are there in 2026?
The UAE has seven official public holiday occasions in 2026: New Year's Day (1 January), Eid Al Fitr (around 20–22 March), Arafat Day (26 May), Eid Al Adha (27–29 May), Islamic New Year (around 15–16 June), the Prophet's Birthday (around 24–25 August), and National Day (2–3 December). Islamic dates are subject to moon sighting and official announcement, so they can shift by a day.
Can I use this calculator for UAE visa or employment dates?
Yes. It is commonly used to count the days between a joining date and a leaving date for end of service gratuity, to measure visa validity periods, to count notice periods, and to plan leave around UAE public holidays. For gratuity amounts, pair the day count with the UAE Gratuity Calculator.
How do I add 30 days to a date?
Switch the tool to "Add / subtract days", enter the start date and 30. For example, 30 days after 31 January 2026 is 2 March 2026, a Monday. Enter a negative number to subtract days instead of adding them.
How do I exclude public holidays from business days?
Paste the holiday dates into the holidays box, one per line in YYYY-MM-DD format, for example 2026-05-26. Those dates are removed from the Monday-to-Friday business-day count. Weekends are already excluded, so only list the weekday holidays.
How many days are there between two dates?
Enter the start and end dates in the calculator. The count excludes the end date unless you tick 'Include the end date (+1 day)'. For example, 1 January → 1 March 2026 is 59 days, or 60 days with the end date included.
How do I find the date 90 days from today?
Switch the tool to 'Add / subtract days', enter today's date and add 90 days. For example, 90 days after 1 January 2026 is 1 April 2026.