DATABASE

DAYNAME(expr)
Returns the name of the day of the week for the date specified by expr.