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