Hello, I am using CR9 and was wondering if there was a function I can use to convert a WeekofYear value into a date range, for example if my WeekofYear value is 23 I would like to see:
What rule are you using to determine what is the first week of the year? The first fullweek, the first week containing Jan 1, the first week with four days, or what?
"Week of "+totext(dateadd("ww",{@weekofyear}-1,date(2005,01,01)-dayofweek(date(2005,01,01))+1),"MM/dd/yyyy") +" to "+
totext(dateadd("ww",{@weekofyear},date(2005,01,01)-dayofweek(date(2005,01,01))),"MM/dd/yyyy")
Substitute your WeekofYear for {@WeekofYear}. Please note that I believe the currentweek is week 24.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.