The year is divided into 12 months. We can break down a month in four weeks.
In MySQL, how to return the week of the month? (Example: first week: 2 entries, second w
SELECT WEEK(my_date_field,5) - WEEK(DATE_SUB(my_date_field, INTERVAL DAYOFMONTH(my_date_field) - 1 DAY),5) + 1
Or you can see here.