WEEKDAY(): function in a mysql date and time fieldReturns the Day number within the week from a date .
Output is 2
For a invalid date we will get Null as output
Output is NULL Output of WEEKDAY() function is from 0 to 6,
0 for Monday, 1 for Tuesday .... 6 for Sunday