WEEKOFYEAR(date) returns the calendar week of the date as a number in the range from 1 to 53. : WEEKOFYEAR « Date Time Functions « MySQL Tutorial






mysql>
mysql> SELECT WEEKOFYEAR('1998-02-20');
+--------------------------+
| WEEKOFYEAR('1998-02-20') |
+--------------------------+
|                        8 |
+--------------------------+
1 row in set (0.00 sec)








14.57.WEEKOFYEAR
14.57.1.WEEKOFYEAR(date) returns the calendar week of the date as a number in the range from 1 to 53.