MySQL DAYOFWEEK() FunctionThe dayofweek() is a MySQL date/time function. It is used to get the day of the week in numeric. SyntaxParameter:Date: date value for getting a day of the week. Returns:This function returns the weekday index for a date value. Example 1Output: Example 2Output:
Next TopicMySQL date/time
|