title: Use am/pm to create php timestamp
body: <p>I have a couple textboxes that allows a person to enter a time and date. The time is entered with a textbox for hours, a textbox for minutes, a drop down for am/pm and some drop downs for months/hours/years </p>
  
  <p>So, I'd like to combine all of these to create a timestamp out of it and save it to the database. </p>
  
  <p>But i've confused myself in how to do all that to create a proper timestamp, especially with the AM/PM part. </p>