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