select Monthname and year from mysql date format

gian363
09-24-2011, 10:57 AM
anyone knows the query of selecting from monthname and year(September 2011) from mysql database DATE format(yyyy-MM-dd)

masterpreenx
09-25-2011, 11:54 PM
you could use the this kind of sql query

Select * from table where MONTH(date) = monthnumber and YEAR(date) = year

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum