I am having problems with inserting records to mysql. The records I have are from a different website (downloaded records) in .CSV and the dates are in "2/12/2015" format. I learned that PHP or Mysql only accepts or understands "YYYY-MM-DD" format or even "YYYYMMDD".
How can I format the dates before including them in the mysql query string? How can I change or convert the arrangement "2/12/2015" and turn it into "2015-2-12"?