حاسبة العمر باختيار التاريخ فقط بالهجري والميلادي باليوم والشهر والسنة

في عصر الذكاء الصناعي وادواتة المختلفه اصبح الوصول الى المعلومة او حساب شىء معين من خلال معادلات معروفه امر فى غايه السهوله والسرعه.فاذا اردت معرفة عمرك على سبيل المثال ماعليك الا الدخول الى احد ادوات الذكاء الصناعي وكتابة البرومبت المحسن لتحصل على اسرع وادق نتيجة ممكنة فى غضون دقائئق او ثوان.
لكن ايضا هناك من لايفضل الكثير من الكتابة المتعلقه باوامر الذكاء الصناعي ويفضلون فقط اختيرا تاريخ الميلاد ومن ثم يحصلون على عمرهم بالايام والشهور والثواني.

اذا كنت من النوع الثاني والذي يفضل داءمه الحصو ل على نتائحج سريعه بدون الكثير من الكتابة او استهلاك العديد من التوكنز فيمكنك بكل سهول استخدام حاسبة
العمر بالهجري والميلادي

من خلال استخدام اداة حاسبة العمر من ادوات يومية والحصول على العمر مباشرة من خلال هذه الادوات

حاول الان واعرف عمرك مباشره لتحديد المناسبات التعلقه بك مثل عيد ميلاد

كيفية حساب أيام العمل بين تاريخين والعطلات الرسمية

English version: How to Calculate Working Days Between Two Dates

يبدو حساب المدة بين تاريخين بسيطًا حتى تدخل عطلة نهاية الأسبوع والعطل الرسمية واختلاف نظام العمل من دولة إلى أخرى. فالفرق بين عدد الأيام التقويمية وعدد أيام العمل قد يؤثر في رصيد الإجازات، ومواعيد تسليم المشاريع، ومدد العقود، وخطط الموارد البشرية.

يوضح هذا الدليل كيفية حساب أيام العمل بين تاريخين بدقة، وما الذي يجب استبعاده، وكيف تتعامل مع العطلات الأسبوعية والرسمية دون احتساب اليوم نفسه مرتين.

ما المقصود بأيام العمل؟

أيام العمل هي الأيام الواقعة داخل فترة محددة بعد استبعاد أيام العطلة الأسبوعية والعطل الرسمية المعتمدة. ويمكن تلخيص العملية في المعادلة التالية:

أيام العمل = مجموع الأيام التقويمية − أيام العطلة الأسبوعية − العطل الرسمية

لكن تطبيق المعادلة يدويًا يصبح مرهقًا عند امتداد الفترة لعدة أشهر، أو عندما تختلف عطلة الأسبوع، أو تتكرر العطل الرسمية داخل المدة.

طريقة سريعة لحساب أيام العمل بين تاريخين

يمكنك استخدام حاسبة أيام العمل والإجازات من ادوات يومية لإجراء الحساب مباشرة. أدخل تاريخ البداية والنهاية، ثم اختر أيام عطلتك الأسبوعية وأضف تواريخ العطل الرسمية، كل تاريخ في سطر مستقل.

تدعم الحاسبة عطلة الجمعة والسبت، والسبت والأحد، وأي تركيبة مخصصة من أيام الأسبوع. كما تعرض تفصيلًا لعدد الأيام التقويمية وأيام العمل وأيام عطلة الأسبوع والعطل الرسمية والأسابيع الكاملة.

كيفية استخدام حاسبة أيام العمل

  1. حدد تاريخ البداية: اختر أول يوم في الفترة التي تريد حسابها.
  2. حدد تاريخ النهاية: اختر آخر يوم في الفترة.
  3. اضبط عطلة الأسبوع: استخدم الإعداد المناسب لبلدك أو جهة عملك.
  4. أضف العطل الرسمية: اكتب كل تاريخ بصيغة YYYY-MM-DD في سطر منفصل.
  5. راجع النتيجة: تحقق من أيام العمل وبقية تفاصيل المدة.

هل يُحتسب تاريخ البداية والنهاية؟

تحتسب الحاسبة اليوم الأول واليوم الأخير ضمن الفترة. فإذا بدأت إجازة يوم الأحد وانتهت يوم الخميس، وكانت جميع هذه الأيام أيام عمل، تكون المدة خمسة أيام وليست أربعة.

هذه نقطة مهمة لأن بعض طرق الحساب اليدوي تعتمد فقط على طرح التاريخين، فتظهر النتيجة أقل بيوم. ومع ذلك، يجب دائمًا مراجعة سياسة جهة العمل؛ فقد تعتمد بعض الأنظمة قواعد مختلفة للإجازات أو المدد التعاقدية.

كيف تختار أيام عطلة نهاية الأسبوع؟

لا توجد عطلة أسبوعية واحدة مناسبة لجميع البلدان والمؤسسات. تستخدم جهات كثيرة في الخليج الجمعة والسبت، بينما تعتمد مؤسسات دولية السبت والأحد. وقد تعمل بعض المنشآت ستة أيام أسبوعيًا أو تستخدم جداول مناوبات خاصة.

لذلك لا تفترض إعدادًا ثابتًا. اختر الأيام المعتمدة فعلًا في جهة العمل قبل قراءة النتيجة، خصوصًا عند مقارنة فريقين يعملان في بلدين مختلفين.

كيفية إضافة العطل الرسمية

أدخل تاريخ كل عطلة رسمية في سطر مستقل بصيغة السنة-الشهر-اليوم، مثل 2026-09-23. إذا صادفت العطلة الرسمية يوم عمل، تُستبعد من عدد أيام العمل. أما إذا وقعت في يوم عطلة أسبوعية، فتُحتسب مرة واحدة فقط ولا تُخصم مرتين.

تأكد من الرجوع إلى التقويم الرسمي المحدّث، لأن بعض الإجازات تتغير سنويًا، وخصوصًا المناسبات المرتبطة بالتقويم الهجري أو القرارات الرسمية.

أهم استخدامات حساب أيام العمل

حساب رصيد الإجازة

يمكن للموظف معرفة عدد الأيام الفعلية التي قد تُخصم من رصيده بعد استبعاد عطلة نهاية الأسبوع والعطل الرسمية، وفق سياسة المنشأة.

تخطيط المشاريع

يساعد عدد أيام العمل مديري المشاريع على إعداد جداول واقعية، بدل بناء خطة على أيام تقويمية لا يعمل فيها الفريق.

تحديد المواعيد التعاقدية

تستخدم بعض العقود عبارات مثل «خلال 10 أيام عمل». ويجب عندها تحديد تاريخ البداية والعطل المستثناة والقواعد التي يعرّف بها العقد يوم العمل.

الرواتب والحضور

يمكن الاستفادة من الحساب في مراجعة أيام الحضور والغياب والفترات الجزئية، مع تطبيق لوائح الموارد البشرية المعتمدة.

مثال عملي

لنفترض أن فترة مشروع تبدأ في 1 أغسطس وتنتهي في 15 أغسطس. يحتوي النطاق على 15 يومًا تقويميًا. إذا وقعت داخله أربعة أيام عطلة أسبوعية وعطلة رسمية واحدة في يوم عمل، يكون الناتج:

15 − 4 − 1 = 10 أيام عمل

أما إذا صادفت العطلة الرسمية أحد أيام العطلة الأسبوعية الأربعة، فلا تُخصم مرة ثانية، وتكون النتيجة 11 يوم عمل.

أخطاء شائعة يجب تجنبها

  • نسيان احتساب اليوم الأخير ضمن الفترة.
  • استخدام عطلة أسبوعية لا تطابق بلدك أو جهة عملك.
  • خصم العطلة الرسمية مرتين عندما تصادف عطلة نهاية الأسبوع.
  • الاعتماد على قائمة قديمة للعطل الرسمية.
  • الخلط بين أيام العمل والأيام التقويمية المذكورة في العقد.
  • إهمال سياسات المناوبات والعمل الجزئي.

أسئلة شائعة

هل يمكن حساب أيام العمل مع عطلة الجمعة والسبت؟

نعم، اختر الجمعة والسبت ضمن أيام العطلة الأسبوعية قبل إجراء الحساب.

ماذا يحدث إذا وقعت عطلة رسمية في نهاية الأسبوع؟

يُصنف اليوم مرة واحدة فقط باعتباره يومًا غير عامل، فلا يُخصم من الإجمالي مرتين.

هل تصلح الحاسبة لحساب الإجازات السنوية؟

تساعد الحاسبة على معرفة عدد أيام العمل داخل الفترة، لكن عدد الأيام المخصومة فعليًا يخضع لنظام العمل ولائحة جهة العمل ونوع الإجازة.

هل يمكن استخدام عطلة أسبوعية مخصصة؟

نعم، تستطيع اختيار أي يوم أو مجموعة أيام بدل التقيد بالإعدادات الجاهزة.

الخلاصة

لحساب أيام العمل بدقة، ابدأ بفترة صحيحة، وحدد عطلة الأسبوع المناسبة، ثم أضف العطل الرسمية المحدثة. راجع دائمًا سياسة جهة العمل أو نص العقد قبل الاعتماد النهائي على النتيجة، خصوصًا في المسائل الإدارية أو القانونية.

How to Calculate Working Days Between Two Dates

النسخة العربية: كيفية حساب أيام العمل بين تاريخين والعطلات الرسمية

Counting the days between two dates is easy until weekends, public holidays, and different workweek rules enter the calculation. The difference between calendar days and actual working days can affect leave balances, project schedules, contract deadlines, payroll reviews, and service commitments.

This guide explains how to calculate working days accurately, select the right weekend, and handle a public holiday that overlaps with a weekend.

What are working days?

Working days, also called business days, are the days within a period after non-working weekend days and applicable public holidays have been excluded.

Working days = calendar days − weekend days − public holidays

The formula is simple, but manual counting becomes inconvenient across long periods or regions with different weekends and holiday calendars.

A faster way to calculate business days

Our Daily Tools’s free Working Days Calculator counts the actual workdays between a start and end date. You can use a Friday–Saturday weekend, a Saturday–Sunday weekend, no weekend, or a custom combination of weekdays.

The tool also accepts public-holiday dates and shows a breakdown of calendar days, working days, weekend days, holidays, and full weeks. It works in a browser on mobile and desktop.

How to use the Working Days Calculator

  1. Enter the start date. Select the first day included in the period.
  2. Enter the end date. Select the final day included in the period.
  3. Configure the weekend. Choose the preset or custom days used by your organisation.
  4. Add public holidays. Enter one date per line in YYYY-MM-DD format.
  5. Review the breakdown. Confirm the working-day total and each excluded category.

Are the start and end dates included?

The calculator includes both the first and last dates. A leave period from Monday through Friday therefore contains five days when all five are working days.

This inclusive approach is common for leave calculations. A simple subtraction between two date values may return four because it measures the elapsed interval rather than counting both named dates. Always confirm the rule required by your employer, contract, or local procedure.

How to choose the correct weekend

Weekend rules vary between countries, organisations, and job types. Many international workplaces use Saturday and Sunday, while a Friday–Saturday weekend is common in parts of the Gulf. Retail, healthcare, hospitality, and shift-based operations may use other schedules.

Select the days that actually apply to the person or team being measured. A default international weekend can produce an incorrect result for a regional office or a custom work roster.

How to exclude public holidays

Enter each holiday on a separate line using the YYYY-MM-DD format. A holiday that falls on a normal workday is removed from the working-day total. If it falls on a selected weekend day, it is classified once and is not deducted twice.

Use an official, current calendar for the relevant location. Holiday dates may change from year to year, especially when they follow a lunar calendar or depend on a government announcement.

Common uses for a business-day calculation

Employee leave

Employees and HR teams can estimate the workdays contained in a leave request after weekends and listed holidays are excluded. The final deduction still depends on company policy and the leave type.

Project planning

Project managers can build realistic delivery schedules using days when the team is available instead of calendar days that include closures.

Contract deadlines

Agreements often require action “within 10 business days.” The parties should identify the starting event, governing holiday calendar, weekend definition, and whether the first day is included.

Service-level tracking

Support and operations teams can measure response windows more consistently when non-working days are excluded under an agreed service calendar.

A practical example

Imagine a project period running from 1 August through 15 August. The inclusive period contains 15 calendar days. If four days are selected weekend days and one public holiday falls on a normal workday, the result is:

15 − 4 − 1 = 10 working days

If that public holiday falls on one of the four weekend days, it should not be subtracted again. The period then contains 11 working days.

Working days versus calendar days

Calendar days include every date in the period. Working days exclude the days defined as non-working. The distinction matters whenever a policy, contract, or deadline uses one term rather than the other.

For example, “seven calendar days” continues through a weekend. “Seven working days” pauses on the configured weekend and any recognised holiday. Never replace one measurement with the other without checking the original wording.

Common mistakes to avoid

  • Leaving out the final date when an inclusive count is required.
  • Using Saturday–Sunday for a team with a different weekend.
  • Deducting a public holiday twice when it overlaps a weekend.
  • Using an outdated or wrong regional holiday list.
  • Confusing working days with calendar days in a contract.
  • Ignoring shift patterns, part-time schedules, or substitute holidays.

Frequently asked questions

Does the calculator support a Friday–Saturday weekend?

Yes. Choose Friday and Saturday as the weekend, or use another custom combination.

What happens when a holiday falls on a weekend?

The date is treated as one non-working day and is not removed twice from the total.

Can I use the result for annual leave?

The result provides the number of configured workdays in the period. The actual leave deduction depends on employment rules, company policy, and the leave category.

Can I select only one weekend day?

Yes. The custom weekend controls allow any single day or combination of days.

Are substitute holidays added automatically?

No. Add the observed or substitute date manually when it is recognised by the relevant organisation or authority.

Final takeaway

An accurate working-day calculation needs more than two dates. Confirm whether the count is inclusive, select the correct weekend, add current public holidays, and check the governing policy. This process produces a useful planning result while keeping regional and organisational differences visible.