Mega Code Archive
Categories
/
MySQL Tutorial
/
Date Time Functions
SELECT WEEKDAY(1997-11-05)
mysql> mysql> SELECT WEEKDAY('1997-11-05'); +-----------------------+ | WEEKDAY('1997-11-05') | +-----------------------+ | 2 | +-----------------------+ 1 row in set (0.00 sec) mysql>