title: Change Time and Date in HTML Form with PHP Process
body: <p>I'm a designer and clueless in PHP.  Tried working around this but cannot get it to work.  </p>
  
  <p>I need to change the date format in a process script file for a simple HTML form.  Here's the pertinent parts and the small script:</p>
  
  <pre><code>&lt;?php
  
  $date = strip_tags($_POST['date']);
  $start = strip_tags($_POST['start']);
  
  mail( ...etc...);
  ?&gt;
  </code></pre>
  
  <p>How do I get the $date and $start (starting time for an event) to email me with date as F j, Y and time as g:i a.</p>
  
  <p>It's currently throwing me the defaults in YYYY-MM-DD and 24 hour time.  I tried declaring</p>
  
  <pre><code>$start = time("g:i a");
  </code></pre>
  
  <p>both after and before the variables are stripped of tags for both $date and $start, but it won't process at all then. </p>