MySQL WEEKDAY() Function
In this tutorial, we will study the MySQL WEEKDAY() function. A week has seven days. Suppose you want to find the weekday number of any given date. This is where we use the MySQL WEEKDAY() function. WEEKDAY() function is used to return a weekday number (called weekday index) for a given date. It treats Monday …