Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql convert datetime to year month

    DATE_FORMAT(_column, '%Y-%m')AS `yyyy-mm`,
 
PREVIOUS NEXT
Tagged: #sql #convert #datetime #year #month
ADD COMMENT
Topic
Name
3+5 =