Hi Soltek!
Absence of reply indicates insufficient data or ability to find or
deduce data to interpret your question. In this case, I think we just
haven't got enough to work on.
We can probably help if you explain those numbers.
It feels like a w-q-y algorithm where you have week x quarter y year
z.
There are problems unless you help us define further.
Key questions are:
What is the method for determining d1 of w1 of the accounting year?
We'll also need to know if y is single, double or four digits.
And if the year starts mid calendar year is the year number the year
number "year beginning" or "year ending"?
There's a huge variety of options possible. See for example the
implications of adopting the week based tax accounting in:
www.irs.gov/pub/irs-pdf/p538.pdf
The next question is what do you want to do?
Set up a schedule of dates with parallel labels w-q-y?
Translate a date to its w-q-y?
Determine date of day 1 of a given w-q-y
But accountants do all sorts of funny things and I may have started
with a false assumption.