MySQL DAYOFWEEK Function
MySQL DAYOFWEEK Function The DAYOFWEEK function returns the weekday index for a date i.e., 1 for Sunday, 2 for Monday, … 7 for Saturday. These index values correspond to the ODBC standard. The following illustrates the DAYOFWEEK function: DAYOFWEEK(date) Code language: SQL (Structured Query Language) (sql) The DAYOFWEEK function accepts 1 argument which is a…
Read more