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