MySQL LAST_DAY Function

Example

Extract the last day of the month for the given date:

SELECT LAST_DAY("2017-06-20");

Definition and Usage

The LAST_DAY() function extracts the last day of the month for a given date. Continue reading MySQL LAST_DAY Function