How could i convert this string “03/16/2012 03:22PM”using php to store in datetime format in mysql, i.e “2012-03-16 15:22:00” (add 00 as default in sec).
How could i convert this string 03/16/2012 03:22PMusing php to store in datetime format
Share
DEMO