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