title: Getting a users Date of birth? php mysql
body: <p>Hey guys I'm I need get a user's date of birth in a form...How do you think I should go about doing it? I would like to just keep it simple in a text field but I also need to validate it.</p>
  
  <p>After that I need to store it in my database, the database has a field which is a timestamp is that correct or should I use something different? (MYSQL) </p>
  
  <p>I have it working at the moment but it also shows the time as 00:00:00 in the database.</p>
  
  <p>I'm using this</p>
  
  <pre><code>        $DOB = strtotime($DOB);
  </code></pre>
  
  <p>How should I do it? Is there a better way? This requires them to enter dob as YYYY/MM/DD is there a way I can do it better...</p>
  
  <p>After this I also need to make sure they are over 18 years old. So how should I go about doing that?</p>