Month From week nbr

Rob Fitzpatrick

ProgressTalk.com Sponsor
More a general-purpose programming question than an ABL question. A google search for "get month from week number" yields a lot of hits.

You also have to define "obtain month" for cases where a week overlaps two months. Which one should your function return? And if you want it to return the current month as at the end of the week, then you have a case where it could be the first month of the next year. So you may need to have your function output year and month rather than just month, to differentiate between "January this year" and "January next year".
 
Top