Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Find the Week number

Posted on 2002-06-06
1
Medium Priority
?
513 Views
Last Modified: 2012-05-04
For a given date (eg 13/1/2002), how can i find the week number (for this example is 3).
0
Comment
Question by:marcus321
1 Comment
 
LVL 101

Accepted Solution

by:
mlmcc earned 200 total points
ID: 7059128
From the CR web pages
The additional function WeekOfYear (U2ldate.dll) calculates the week-number for a given date. This function uses Sunday as the first day of the week in its calculations.

It also provides details of how to write a function using Monday as the first day of the week.  Look at

http://support.crystaldecisions.com/library/kbase/articles/c2006747.asp

good luck
mlmcc
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question