title: datepicker is always 0 on database codeigniter
body: <p>I have date picker and it's always <code>0000-00-00 00:00:00</code> on database</p>
  
  <p>Here's my code</p>
  
  <pre><code>&lt;script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="//code.jquery.com/jquery-1.11.1.min.js"&gt;&lt;/script&gt;
  
  &lt;div class="col-md-4"&gt;
     &lt;div class="form-group"&gt;
         &lt;input class="datepicker" name="datepicker" width="330" placeholder="Birthday" /&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and on my js</p>
  
  <pre><code>$(document).ready(function () {
      $('.datepicker').datepicker({
        uiLibrary: 'bootstrap'
      });
  });
  </code></pre>
  
  <p>and save it like this</p>
  
  <pre><code>$datepicker=$this-&gt;input-&gt;post('datepicker');
  $this-&gt;main_model-&gt;save_records($datepicker);
  </code></pre>
  
  <p>can someone help me.</p>