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