Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make date as a number? 1

Status
Not open for further replies.

calvi

Technical User
May 26, 2003
87
NL
I have grouped my data by date, grouped for each 1 week. So the first week: 1-1-2003 contains data for that week, the second week: 8-1-2003 contains data for that week. So the printpreview shows per week as a date. My question: can I change that date into numbers? So week beginning with 1-1-2003 is weeknumber 1, week beginning with 8-1-2003 is weeknumber 2, and so on ...
Is there a solution for this?
Thank you.
 
In Crystal 8.5, you can use the following command in a formula fields
DatePart ("ww", {your.date})

Mysteriously, there is no entry for 'week number' in the index, you need to go burrowing into command options to find solutions like this.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top