LAST_DAY « Date Time Functions « MySQL Tutorial






14.23.LAST_DAY
14.23.1.LAST_DAY(date) returns the corresponding value for the last day of the month.
14.23.2.SELECT LAST_DAY('2004-02-05');
14.23.3.SELECT LAST_DAY('2004-01-01 01:01:01');
14.23.4.SELECT LAST_DAY('2003-03-32');