Answers for "mysql get date by day and month"

SQL
4

mysql get last day of month

SELECT LAST_DAY(CURDATE());						-- Current month
SELECT LAST_DAY(CURDATE() - INTERVAL 1 MONTH);	-- Previous month
SELECT LAST_DAY(CURDATE() + INTERVAL 1 MONTH);	-- Next month
Posted by: Guest on May-21-2021
1

extract month from date in mysql

MONTH(date)
Posted by: Guest on April-15-2021

Code answers related to "mysql get date by day and month"

Code answers related to "SQL"

Browse Popular Code Answers by Language