Hi all,

Apologies if I am diving in late after this has already been said....

Although there are many different interpretations of "week number", the most widely used is the ISO week number as printed in many diaries, etc. This was discussed in detail a couple of months back either on this list or on CDP, I forget which. You should be able to find it in the digests.

We had used a simple algorithm in our business applications for some years (and published it in our U2 programming classes) only to find that it stopped working a couple of years back. This forced us to do the research and find the full algorithm.

We implemented this as a standard conversion code in OpenQM and were surprised to find that the algorithm is far from simple, however, it is widely available on the web. Simply dividing by 365.25 does not work especially when you take into account the possibility of doing the calculation on Feb 29.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200 -------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to