MySQL DAYOFWEEK

MySQL DAYOFWEEK Function 2

MySQL DAYOFWEEK function is one of the MySQL Date Functions, used to return the weekday index value of the given date. This DAYOFWEEK function returns value from 1 to 7 where 1 = Sunday, 2 = Monday, ….. 7 = Sunday. Let us see how to use this DAYOFWEEK function to get the weekday or … Read more