Calculate number of the week ?

I've made a Delphi function that counts the number of week using given date as a parameter. Is it possible to determine the last week's number? (Is it 52 or 53?) Is there any component or function available that would do this job?
Who is Participating?
AndyJohnConnect With a Mentor Commented:
try the date components at they may help you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.