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