69
MySQL Date/Time weekday() Function
The weekday() is a MySQL date/time function. It is used to get the index for a date.
Syntax
Parameter:
Date_value : date for getting weekday
Returns:
This function returns the weekday index for a date.
Example 1
Output:
Example 2
Output:
Next TopicMySQL datetime