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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Week of the year 1

Status
Not open for further replies.

smash81

Programmer
Mar 12, 2001
88
0
0
KE
Hello,
I have a question regarding the week of the year.
Is it possible to know the week of the year using ASP?
My requirment is that i have a couple of names in the database and the output is supposed to be such that every week the name are to be displayed in rotating fashion. example

week 1 Week 2 Week 3 and so on.......
A D C
B A D
C B A
D C B

How can i achieve this?
 
Datepart("ww", Date)

will give you the number of the current work-week (sunday-saturday I think)

/fredde


 
Thank you the help was great.It has worked
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top