title: Using strtotime to format date() with AM/PM
body: <p>I have this line of code I wrote to create a formatted timestamp on emails from my contact us page.</p>
  
  <p>It is working fine, but I'm wondering if it is written poorly and could be reduced into more efficient code?  It feels wrong calling date() three times in one line.  I'm not a developer by trade.</p>
  
  <pre><code>$timestamp = date('m-d-Y')." ".date('h:i A', strtotime(date('H:i:s')));
  </code></pre>
  
  <p>which results in: <code>05-28-2014 03:49 PM</code></p>
  
  <p>Thoughts?</p>