Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

retornar apenas o ano mysql date

SELECT * FROM SUA_TABELA where year(CAMPODATA) = 2013 and month(CAMPODATA) = 1;
Source by pt.stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #retornar #apenas #ano #mysql #date
ADD COMMENT
Topic
Name
3+4 =