Anybody good with math? QUESTION

How can I, using getdate, getmonth etc., arrive at the number of the week within the year (1-52)? :h:

Well, since the months numbers start from 0 (zero), you can multiply the month number by 4, and devide the day number by 7:

March 13 would be 10th week:
March = 2
2*4=8
13/7=1.85
Since we’re trying to get the week we’re at, 1.85 means we’re over the first week, but still in the second, cause we’re lower than 2. So 8 + 2 = 10th week.

Is that clear enough? Let me know.