I have a datepicker using https://eonasdan.github.io/bootstrap-datetimepicker/#minimum-setup
My input type is Text. The input I receive will be: 02/14/2017 3:00 PM
How can I turn this into a php timestamp? Like this: 2017-02-14 15:00:00
I want to store it in my mySQL datebase as a timestamp.
strtotimeit will convert string to unix timestamp. And store that in database.