sql how to get current month
select * from your_table where MONTH(mont_year) = MONTH(NOW()) and YEAR(mont_year) = YEAR(NOW()); Note: (month_year) means your column that contain date format. I think that will solve your problem. Let me know if that query doesn't works.