[1] You have supported function to give you the day of the week of the 1stday of the year, eg. 2004 Thursday.
[2] You have support function to calculate the number of days elapsed today since new year.
I make a honest counting from the calendar and come out 20 weeks. It proves that you have to define what is the "week number". The understanding of it can be divided. After you specify the meaning, I am sure you have already got half the solution.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.