• Very nice indeed, except maybe that the week numbers are incorrect, or at least does not comply with the internationell standard ISO 8601 (1972). For example, the year 2006 week number 1 starts om monday january 2, not on monday december 26 as claimed by this procedure (that week is actually week number 52 of 2005).

    According to the internationell standard ISO 8601 (1972) the first day of week is Monday,

    and weeks are numbered from 1 to 52 or in some cases from 1 to 53.

    Week number 1 is the first week of the year (either expression is true, only need to check one)

    - containing january 4

    - containing at least 4 days

    - containing a thursday

    With a fix for the week number, this procedure would be really handy. Good work!