title: trying to record php date("YmdHis") in mysql as integer, but records something unexpected
body: <p><code>echo date("YmdHis")</code> see like <code>20150305072946</code></p>
  
  <p>It looks like integer, so i trying to record in mysql as integer.</p>
  
  <p>Mysql column type <code>int(20)</code>. Storage Engine is <code>InnoDB</code>.</p>
  
  <p>I have this query:</p>
  
  <pre><code>INSERT INTO table_name (`DateTime`) VALUES (?)     
  $stmt_insert-&gt;execute( array( trim(date("YmdHis")) ) );
  </code></pre>
  
  <p>In mysql instead of <code>20150305072946</code> see <code>2147483647</code></p>
  
  <p>What need to correct to insert correct value?</p>