mysql get last day of month

Solutions on MaxInterview for mysql get last day of month by the best coders in the world

showing results for - "mysql get last day of month"
Alexa
31 Apr 2016
1SELECT LAST_DAY(CURDATE());						-- Current month
2SELECT LAST_DAY(CURDATE() - INTERVAL 1 MONTH);	-- Previous month
3SELECT LAST_DAY(CURDATE() + INTERVAL 1 MONTH);	-- Next month