Hi, I have a field database field called created_at which is assigned when an new instance is created and I use the following:
PHP Code:
$data = array( 'created_at' => Zend_Date::now() );
$object = new MyClass();
$object->insert( $data );
However, when I list the objects that have been inserted in the database via the browser, I'm getting the following for the 'created_at' field:
0000-00-00 00:00:00
Also, when I view the contents of the DB, I'm seeing the same results. Thus, if anyone has the answer for this, please post the solution.
Thanks in advance,
-Conrad
