WEEKDAY « Date Time « SQL / MySQL






1.WEEKDAY( ) returns values from 0 to 6, corresponding to Monday through Sunday.
2.To get the day of the week as a number, use DAYOFWEEK( ) or WEEKDAY( )