0

Possible Duplicate:
Get dates from week number in T-SQL

Hi,

How do I get the startdate and end date for a given week number?

"select getstartdate(weeknumber)" should give the startdate of the given week.

Thanks, Subrat

Community
  • 1
  • 1
subs
  • 2,189
  • 12
  • 35
  • 59

2 Answers2

0

You could have a look at this thread about the topic.

Nils Magne Lunde
  • 1,794
  • 1
  • 13
  • 21
0

Typically (on countries like Sweden for example) week one will start on a Monday, so week 1 starts on 3rd Jan in 2011. So you are going to need to specify the year as well.

See here for a list of week start days http://www.timeanddate.com/calendar/?year=2011&country=21

openshac
  • 4,966
  • 5
  • 46
  • 77