Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql select month and year

SELECT DATE_FORMAT(test_date,'%Y%m') AS date FROM test_table;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #select #month #year
ADD COMMENT
Topic
Name
8+7 =