Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Working with weeknumbers

Avatar of Stef Merlijn
Stef MerlijnFlag for Netherlands asked on
Delphi
6 Comments1 Solution178 ViewsLast Modified:
Hi,

There are 4 Cycles. Each cycle represents 1 week.
I initially set week 1 of 2008 to Cyclenumber 1:

Cycle 1 starts on:    WEEK: 01   YEAR: 2008

So:
week 1 2008 = Cycle 1
week 2 2008 = Cycle 2
week 3 2008 = Cycle 3
week 4 2008 = Cycle 4
week 5 2008 = Cycle 1
etc.

What I need to do is to determine the Cyclenumber of any week in any year based on the week/year that is initially set with cycle 1.

Thanks, Stef
ASKER CERTIFIED SOLUTION
Avatar of rfwoolf
rfwoolfFlag of South Africa image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers