Solved

Find the Week number

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now