Thanks Modic.

Mozart,

If you had clearly posted your requirement, many people would have given the answers.

If the first week contains only 2 days (Jan 1, 2005 and Jan 2, 2005 only), your weekly scheduling algorithm (I assume) program may not work correctly. You need to code much more than if you use standard ISO week.

Tamil