mysql convert day of week to date code example Example: mysql get day of week DAYOFWEEK();//(1 for Sunday,2 for Monday …… 7 for Saturday )