I am currently updating an old site where the date used in the database is formated dd/mm/yyyy.
What I am trying to do is group the rows by month and year. Is this possible with this formatting?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can always call STR_TO_DATE(value,’%d/%m/%Y’).
Then you’ll be able to group rows using ordinary date-extracting functions like YEAR() and MONTH().