Announcement Announcement Module
Collapse
No announcement yet.
What week of the year? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • What week of the year?

    Next problem. In my project, users can sign up for taste panels. The admin wants the ability to limit the number of panels a user can signup for on a weekly basis. To accomidate this, I have created a sub class called "WeeklyCutoffPercentage" which basically holds a RSCId (RSC is the main object), Week (int of the week of the year [1-53]) and Cutoff (percentage allowable [1-100]). The problem I am running into is that I don't know how to determine what week of the year it is. From what I have seen and read using the Date object, it can tell you everything except for what week of the year it is. So I'm looking for suggestions on how to do this.

    Thanks,
    Neo

  • #2
    Look at Calendar

    Comment

    Working...
    X