i have created a date table directly through phpmyadmin and i want to split the date(yyyy:mm:dd) into individual day, month and year and insert into separate field. Can anybody help me in the query used directly in phpmyadmin to perform above work?
Share
Try:
I’ve used
DATE_FORMAT()rather thanMONTH()andDAY()as the latter two remove leading zeros.