title: Why date stored in MySQL is all wrong?
body: <p>I am building a PHP to MySQL webpage and I didn't notice it until now. My date from form field which is posted to PHP script is sent to MySQL table for storage. Even though in the date field within the form is being displayed correctly and POST date value is verified to be exact, it is not going into my MySQL table correctly. For some odd reason, the year is 2006 not 2012. However, the time is correct.</p>
  
  <p>Here is my Form date field:</p>
  
  <pre><code>&lt;input type=text id="date" name="srdate" value=&lt;?php echo date("m/d/y"); ?&gt;
  </code></pre>
  
  <p>Date Column in my MySQL table is of TYPE DATE.</p>
  
  <p>I did check the date stored in my table and it has wrong date not year 2012 but 2006.</p>
  
  <p>Any Idea,</p>