As Chelseatech alludes to, this *can* be a fairly complicated subject based on the business rules.
Work Weeks differ and are determined by company guidelines, and if this fuzzy ole mind recalls accurately, the ISO standard is that the week which contains the 4th day of the year is WW 1.
SQL Server does NOT use this method, nor do any of the above formulas. Oracle might.
I believe that the good news is that you can set the start day of a week and the starting work week settings within Oracle. Crystal also allows for this where intervaltype = 'ww':
DatePart (intervalType, inputDateTime, firstDayOfWeek, firstWeekOfYear)
This is a great example for using a peiod table in your database as it resolves this and many similar nuisances, plus it allows for the elusive presentation of data within Crystal for periods NOT available in the data (show months that don't have data).
-k
kai@informeddatadecisions.com