MySQL WEEKDAY Function

MySQL WEEKDAY is one of the Date Functions, which returns the weekday value of a given date. This weekday function returns value range from 1 to 6 where 0 = Sunday, 1 = Monday, 2 = Tuesday, ….. 6 = Sunday. The syntax of the MySQL WEEKDAY function is as shown below: WEEKDAY(date or expression); … Read more