As the title says, given the year and the week number, how do I get the month number?
edit: if a week crosses two months, I want the month the first day of the week
I think you're assuming that a "week" is any group of 7 sequential days. It isn't. Given Year(2008), Week(5), you could be in either January or Febuary, depending on when your "week" starts.