Skip to content
Badr Alghamdi
ToolsLearnReferenceGlossaryField LibraryMethod sheetsWritingAbout
العربية
←Tools

Working week: four declared weeks give four dates from one Thursday

Declare your own weekdays and closures, then count ten days from one Thursday. Four declared weeks reach four different dates, because there is no default working week here.

Live result

This page counts on the week you declare and it has none of its own. Press a named shape above, or press the weekdays your convention counts.
This page counts on the week you declare and it has none of its own. Press a named shape above, or press the weekdays your convention counts.

Reset to an example week

Counted weekdays, 1 is Monday

This page counts on the week you declare and it has none of its own. Press a named shape above, or press the weekdays your convention counts.

The count basis

This choice can move the answer by a week.

10days

Whole days on the selected basis, limited to twenty.

Edit the event and your closures▾
The event

The start date is excluded; counting begins the next day.

Your closures
Closure 1

Kind

Closure 2

Kind

days

Here is the maths

▾

The formula in words

The start date is excluded. On the calendar basis the page adds the whole period to the start as calendar days. On the working basis it moves forward one date at a time and counts only the dates the declared week leaves open, stopping when it has counted the whole period. Either way it then rolls the candidate forward, one day at a time, until it reaches a date whose ISO weekday the declared week counts and which carries no closure you typed. All of it is integer arithmetic on day numbers, with no time zone and no clock.

The two things the page will not choose

The page ships with no weekday counted. The working week in Saudi Arabia and the working week in the United Arab Emirates differ, sectors and shifts differ inside each of them, and this page cannot see which one is yours.

A closure that begins on a sighting is not on any table this page holds. Every one of them here is a date you typed, and it carries your uncertainty rather than the page's certainty.

A worked example

The event is 2026-09-03, the period is 10 calendar days and the declared weekdays are 7, 1, 2, 3 and 4. The start is excluded, so the unrolled candidate is 2026-09-13.

The visitor typed 2026-09-13 as a declared closure and 2026-09-14 as a sighting dependent closure. Rolling two whole days reaches 2026-09-15, an ISO Tuesday with no typed closure.

On the working basis the same record reaches 2026-09-21. The four named shapes reach 2026-09-18, 2026-09-20, 2026-09-21 and 2026-09-15.

What this does not model

It counts on the basis, the week and the closures you typed. It does not determine which definition governs between parties, whether the start day should be included, whether a notice is in time, or whether any body will accept the result.

It counts civil dates and nothing finer. An hour, a shift and a cutoff are outside it. It holds no holiday, for any country, in any year.

On the calendar basis all four named weeks reach the same date at the shipped record. That is a fact about that record rather than a rule.

What the sweep compares

The sweep compares contiguous runs of the same length rather than the exact set typed. When the declared set is scattered, its smallest weekday is the current start. When no weekday is declared, every sampled value remains unanswered.

Check it yourself

Seven weeks are checked and the answer holds from a week beginning on 5 through one beginning on 7. The same date comes back at 1 and at 2, and it does not at 3 or at 4. The region is the run of checked values that held, and it is not the list of weeks that reach this date.

The calculation domain

The calculation accepts dates from 1900-01-01 to 2100-12-31, periods of 1 to 60 whole days and up to 366 closures. This page offers 20 days and 12 closures because the board draws at most 42 dates across six calendar weeks.

Boundary

It counts on the basis, week and closures you typed without determining which definition governs, whether the start day belongs inside the period, whether a notice is in time or whether anyone will accept the date reached.

Source anchors

Those two published pages describe two different working weeks, which is the whole reason this page declines to hold one. Neither week, and no holiday, no closure date and no calendar from either page or from anywhere else, appears on this page.

  • Saudi official working days
  • UAE federal public sector working hours

Ordered calculation trace

  1. Read the event as an integer civil day number and exclude it from the count.
  2. Count the period on the chosen basis and the declared weekdays.
  3. Mark every visitor typed closure as closed on its typed civil date.
  4. Stop at the unrolled candidate, then move forward until the week and closures leave a date open.
  5. Return the reached ISO date, its ISO weekday and the whole number of days rolled.

Calculation version

1.0.0

The whole record prints. Your browser can save it as a PDF instead of printing it.

This page permanently refuses to choose a working week, to hold a holiday for any country in any year, and to tabulate a closure that begins on a sighting. It has no default week because the weeks it would have to choose between differ, and it has no holiday table because a date announced from a sighting is not knowable in advance. It counts what your own declaration counts, and it does not determine whether anyone is late.

Related

  • Documentary credit deadlines: four clocks, and one of them is yoursType the dates and four clocks come apart: the period you have to present in, the day the credit expires, the five banking days a bank may take to decide, and the day the money falls due. The five days are the outer limit of a decision. Most diaries have them down as the day of payment.
  • Hijri anniversary: three years in Hijri months end thirty three days earlyType a start date and a term in whole Hijri months. The page counts the ending on one named arithmetic Hijri calendar, and counts the same term again in Gregorian months from the same start. One term, two dates, and the distance between them grows by about eleven days a year. Defer the start by a few days and the distance does not move, while the Gregorian month the Hijri ending falls in does. The arithmetic calendar here is not a sighting and not an announcement.

Badr Alghamdi

Request a consultationLinkedInGitHubRSS