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

Week numbers problem.

Status
Not open for further replies.

harwooddale

Programmer
Feb 7, 2003
40
GB
Hi,
I have a table that contains current week info and that works just fine.
We are going to amend the table so that each row contains summary data from the previous 12 weeks.
This is fine when I am doing an insert where the previous 12 weeks are in the same year.
What do I do if some or all of the previous 12 weeks are in the previous year?

Help Gratefully Appreciated.

James Boak


cannon.gif
 
Why does it matter? I can not see any difference between weeks being in this or previous year.

Regards, Dima
 
The week numbers will go from 1 in the current year to 52 in the previous year.
 
So what? You may get date difference by subtracting dates, not week numbers.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top