mysql> mysql> SELECT YEARWEEK('2000-01-01'); +------------------------+ | YEARWEEK('2000-01-01') | +------------------------+ | 199952 | +------------------------+ 1 row in set (0.00 sec) mysql>