[eluser]Zed[/eluser]
[quote author="oliur" date="1333107729"]Steps to check:
1. Make sure your field type is a TIMESTAMP in MySQL table
2. You do not need to use a hidden field
3. You do not need to pass date from your view to controller - just pass it from your controller directly
4. In your controller use PHP date function:
$data['date'] = date('Y-m-d H:i
');
And then insert that into mysql
$this->db->insert('posts',$data);
5. Job done.
[/quote]
Thanks. Its working now!