title: SQL-PHP datetime
body: <p>I'm integrating an RSS feed unto my website and i need to create a table:</p>
  
  <pre><code>CREATE TABLE `stories` (
    `id` int(11) NOT NULL auto_increment,
    `title` varchar(255) NOT NULL default '',
    `description` text NOT NULL,
    `when` datetime NOT NULL default '0000-00-00 00:00:00',
    PRIMARY KEY  (`id`)
  )
  </code></pre>
  
  <p>i know how to insert id, title, description but i do not know how to insert the time of the post (user submits  them). I used the script given <a href="http://www.script-tutorials.com/how-to-easily-make-your-own-rss-feed/" rel="nofollow">here</a>.</p>
  
  <pre><code>mysql_query("insert into stories (title,description) VALUES ('$_POST[title]','$_POST[description]') ");
  </code></pre>