cancel
Showing results for 
Search instead for 
Did you mean: 

Display Week Number

Former Member
0 Kudos

Does anyone know how to display the "Week" number in Crystal 2008? I need to break my report out by week 1, 2, 3....but I don't see a way so far. I have a date field but don't know how to convert that to the week number.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Assuming you mean the Week number of the Year, you can create this formula to give you it:

//@WeekNumber

DatePart ("ww", {table.date})

Former Member
0 Kudos

Thanks! That is exactly what I needed.

Answers (1)

Answers (1)

Former Member
0 Kudos

This is a helpful article depending on what you are trying to accomplish. |http://www.crystalkeen.com/articles/crystalreports/calculateweeknumber.htm]