I'm working with a string that represents a timestamp in this format:
Mon Jul 13 11:32:00 EST 2015
I now need to convert this into a timestamp to insert into my database in this format:
MM/DD/YYYY HH:MM:SS
I would usually use this:
date("m/d/Y h:i:s A", $timestamp)
but this isn't working. I don't need to worry about timezones as the timestamp is in the local timezone already