Solved

Find the Week number

Posted on 2002-06-06
1
492 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 100

Accepted Solution

by:
mlmcc earned 50 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

679 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