Question
For date data with only certain days of the week, I want to set a week number for each month under the following conditions.In the case of Monday-only data, the following conditions are used.
- The weekly period is 7 days starting on Monday, and the month in which Monday falls shall be the month of the week *The same week number shall be applied during the week
- The week containing the first Monday shall be number 1 in the week number of the month
In the example below from year 2020 calendar, you want to set the week of 6th as the first week of the month since it's Monday, instead of the previous week starting on 1st.