Date Difference Calculator
Enter two dates to get the gap in days, weeks and calendar months – counting the end date or not – plus the working days on a Saturday–Sunday, Saudi Friday–Saturday or six-day week.
Quick answer: Subtract the earlier date from the later one, and add 1 if both dates count. From January 10 to July 10, 2026 is 181 days; counting both days it is 182 – the way the UAE’s 183-day tax-residency test counts – and 130 of those are Monday–Friday working days.
Not rated yet · Updated · Free · No sign-up
Date Difference Calculator inputs
Result
From Thursday, January 1, 2026 to Friday, November 27, 2026
330 days
End date not included
| Years, months, days | 10 months and 26 days |
| Months and days | 10 months and 26 days |
| Weeks and days | 47 weeks and 1 day |
| Total days | 330 |
- Working days (Monday to Friday)
- 236
- Weekend days (Sat–Sun)
- 94
- Hours
- 7,920
- Minutes
- 475,200
Calculated with CalcBright – https://calcbright.com/date-difference-calculator on
How the days are counted
Each date becomes a running day number – the count of days from a fixed point in the Gregorian calendar – and the calculator subtracts one from the other. That removes the error-prone part of counting by hand: remembering which months have 30 days and whether February has 28 or 29.
Days = day number(end) − day number(start) (+1 if both dates count)
Weeks are the total divided by 7, with the remainder in days. Months are counted on the calendar: the calculator steps forward whole months from the start date and then counts the days left. Where the same day number does not exist – January 31 has no February twin – the month ends on the last day of the shorter month, so January 31 to February 28, 2026 is exactly one month (28 days).
Gap or both days? Pick by what you are counting
The one-day difference between calculators is a choice, not an error, and Gulf rules use both:
| What you are counting | Include the end date? | Weekend matters? |
|---|---|---|
| Days present in the UAE for tax residency | Yes – parts of days count | No |
| Length of service, from first to last working day | Yes | No |
| Probation or a notice period in calendar days | Depends on whether day one is the start date | No |
| Nights in a hotel, days until a deadline | No | No |
| Working days in a month or project | Yes | Yes – choose your weekend |
Worked examples
The UAE 183-day tax-residency test
Under Cabinet Decision No. 85 of 2022 an individual is a UAE tax resident if they are in the country for 183 days or more in a 12-month period, and Ministerial Decision No. 27 of 2023 counts any part of a day as a day, with no need for the days to be consecutive. Someone who lands on January 10, 2026 and flies out on July 10 has a gap of 181 days, but both the arrival and the departure day count, so the right figure is 182 days – one short. Staying until July 11 makes 183. For several trips, count each stay with both dates included and add them up. The day count is only one route: residency can also follow from having the UAE as your primary place of residence and centre of interests, and treaty rules can override it.
Service length for an end-of-service gratuity
An employee who started on June 15, 2021 and whose last working day is November 30, 2026 has served 1,995 days counting both days – 5 years, 5 months and 16 days. In the UAE, days of unpaid absence do not count as service (Article 51 of Decree-Law No. 33 of 2021): with 20 days of unpaid leave the service is 1,975 days. The UAE gratuity calculator takes the same dates and unpaid days and turns them into the payment; for the rest of the Gulf use the GCC gratuity calculator.
A 30-day notice period in Riyadh
A worker on an open-ended Saudi contract resigns with notice served on Thursday, October 1, 2026. Article 75 requires 30 days from the worker (60 when the employer ends the contract). Counting October 1 as day one and including the end date, the 30th day is Friday, October 30. Of those 30 calendar days, 21 are Sunday–Thursday working days on the Saudi Friday–Saturday weekend – on a Saturday–Sunday weekend the same span has 22. Notice periods run in calendar days, so the working-day figure tells you how many shifts are left, not when notice ends.
Probation and notice across the two biggest Gulf job markets
| Rule | UAE (Decree-Law No. 33 of 2021) | Saudi Arabia (Labor Law) |
|---|---|---|
| Maximum probation | 6 months (Article 9) | 180 days, excluding Eid holidays and sick leave (Article 53) |
| Notice to end probation | 14 days from the employer | Either party may end it during probation |
| Notice on an open-ended contract | 30–90 days (Article 43) | 30 days by the worker, 60 by the employer (Article 75) |
| Usual weekend | Saturday–Sunday | Friday–Saturday |
Rules that change the count
- Leap years. 2028 has 366 days; any span that crosses February 29 is one day longer than the same dates in a normal year.
- Six months is not 182 days. March 1 to September 1, 2026 is 184 days, while January 10 to July 10 is 181. When a rule is written in months, count months; when it is written in days, count days.
- Excluded days. Unpaid leave (UAE service) and Eid holidays and sick leave (Saudi probation) come off the calendar count.
- Weekends. Working days depend on the weekend: the calculator offers Saturday–Sunday, Friday–Saturday, Sharjah’s Friday–Sunday and six-day weeks. Public holidays are not subtracted – use the business days calculator for that.
- Hijri dates. If a contract or document uses Hijri dates, convert them first with the Hijri date converter; a Hijri year is about 11 days shorter than a Gregorian one.
Common mistakes
- Leaving out the arrival or departure day when counting days of presence.
- Counting a notice period in working days when the law sets calendar days.
- Treating “6 months” as 180 days, which ends a probation up to four days early.
- Using the Monday–Friday count for a Saudi or Kuwaiti employer.
- Forgetting to subtract unpaid leave before calculating gratuity.
When to get help
The day count is exact; whether a particular day counts can be a legal question. If an employer disputes your service length or notice dates, ask for their calculation in writing and compare it with yours – MOHRE in the UAE and the Ministry of Human Resources and Social Development in Saudi Arabia handle labour complaints. For tax residency, keep your own record of every entry and exit date: the 183-day test is applied to actual days of presence, and counting both travel days is where most self-counts fall short.
Frequently asked questions
How do I calculate the number of days between two dates?
Turn each date into a running day number and subtract, so month lengths and leap days take care of themselves. January 1 to December 31, 2026 is 364 days, or 365 if you count both dates; 2028 is a leap year, so the same span then is 366 days counting both dates.
Should I include the end date?
Include it when every day touched counts – days of presence, days of service, the length of a trip or event. Leave it out for a gap or a number of nights: Monday to Tuesday is 1 day apart but 2 days counting both. The two answers always differ by exactly one.
How many working days are there between two dates in Saudi Arabia?
Choose the Friday–Saturday weekend. November 1–30, 2026, counting both dates, has 22 Sunday–Thursday working days and 8 weekend days. October 1–30, 2026 has 21 working days on a Friday–Saturday weekend but 22 on Saturday–Sunday, so the weekend you pick matters. Public holidays still have to be subtracted.
How do I count my days of service for gratuity?
Count from your first day to your last working day, both included: June 15, 2021 to November 30, 2026 is 1,995 days, or 5 years, 5 months and 16 days. In the UAE, days of unpaid absence are taken out of service (Article 51 of Decree-Law No. 33 of 2021), so subtract them before entering the dates in a gratuity calculator.
How long is the probation period in the UAE and Saudi Arabia?
In the UAE it may not exceed six months (Article 9 of Decree-Law No. 33 of 2021) – March 1 to September 1, 2026 is 184 days – and an employer ending it must give 14 days’ written notice. In Saudi Arabia the maximum is 180 days since the 2025 amendments (Article 53), and Eid al-Fitr and Eid al-Adha holidays and sick leave are not counted in it.
How do I count my notice period?
Labour-law notice runs in calendar days, weekends included. In Saudi Arabia an open-ended contract needs 30 days’ notice from the worker and 60 from the employer (Article 75); in the UAE it is 30 to 90 days (Article 43). Notice served on October 1, 2026 runs to October 30 if day one is the day it is served, or to October 31 if counting starts the next day – the contract decides.
How many days must I spend in the UAE to be a tax resident?
183 days or more in any 12 consecutive months (Cabinet Decision No. 85 of 2022). Days need not be consecutive and any part of a day counts (Ministerial Decision No. 27 of 2023), so arrival and departure days count – include the end date. January 10 to July 10, 2026 is 182 days; staying to July 11 makes 183.
Why do two calculators give answers one day apart?
Almost always because one counts the end date and the other does not. The calculator shows which it used under the result, and the include-end-date option switches between the two. Mixing up time zones on a travel day can add or remove another day.
What changed
- – Page fully reviewed: the working-day count now follows the weekend you choose (Saturday–Sunday, Saudi Friday–Saturday, Sharjah Friday–Sunday or a six-day week); key numbers, six Gulf scenarios, worked examples and a probation and notice table added.
- – UAE Cabinet Decision No. 85 of 2022 on tax residency took effect, with the 183-day test for individuals.
- – UAE Decree-Law No. 33 of 2021 on labour relations took effect, capping probation at six months and setting notice at 30 to 90 days.
- – The UAE federal government moved its weekend from Friday–Saturday to Saturday–Sunday.
- – Saudi Arabia moved its official weekend from Thursday–Friday to Friday–Saturday.
Sources
- UAE Federal Decree-Law No. 33 of 2021 on the Regulation of Labour Relations – Articles 9 (probation), 43 (notice) and 51 (end-of-service service period)
- Saudi Labor Law (Royal Decree No. M/51 of 1426H) as amended – Articles 53 (probation) and 75 (notice); Ministry of Human Resources and Social Development
- UAE Ministry of Finance – Cabinet Decision No. 85 of 2022 on the Determination of Tax Residency and Ministerial Decision No. 27 of 2023
- UAE Government portal – working hours in the federal government (4.5-day week)
Last reviewed: ·
Reviewed by Chelsea, CalcBright's animated guide, for the CalcBright editorial team · How we check our numbers
Rate the Date Difference Calculator
Only the average star rating is shown. Error reports go straight to our inbox so we can check and fix them. See our Methodology and privacy policy.