WEEKDAY(): function in a mysql date and time fieldReturns the Day number within the week from a date .
Output is 2
This will return weekday in number of present ( today's ) date.
Output is NULL Output of WEEKDAY() function is from 0 to 6,
0 for Monday, 1 for Tuesday .... 6 for Sunday
This article is written by plus2net.com team.
▼ More on Date & Time functions in SQL