Hello everyone I have the following string 09/20/2018 12:21 PM
which I want to convert to date format to insert it into a column of a MySQL database that has datetime
I tried with the function strtotime
but the result what I get is from an integer something like int(201021)
is not converted to insert it.