2

how can we get number of weeks of current year,

for example if it's 2009 there are 53 weeks and 2010 has 52

hakre
  • 193,403
  • 52
  • 435
  • 836
viMaL
  • 638
  • 1
  • 7
  • 20

1 Answers1

4

Perhaps you can try setting the date to 31st Dec of current year, and querying the week number?

nikc.org
  • 16,462
  • 6
  • 50
  • 83