how to get only this week data in mysql code example Example: mysql get day of week DAYOFWEEK();//(1 for Sunday,2 for Monday …… 7 for Saturday )