title: now(); and date(); function in code igniter give zeros result
body: <p>So i want to insert current time to mysql database, this is my code :</p>
  
  <pre><code>'regis_date'=&gt;$this-&gt;input-&gt;post(date('Y-m-d H:i:s', now()))
  </code></pre>
  
  <p>But the result is this : <code>0000-00-00 00:00:00</code>
  What i want is like this (for example) : <code>2012-08-31 00:00:00</code>
  Thanks :D</p>