Zend Framework Table insert MySQL Expression
Just wanted to ask if there is an easyer way to do this (to use the FROM_UNIXTIME expression):

    $table = $this->getDbTable();
    $db = $table->getAdapter();

    $table->insert(array(
	    'date'=>new Zend_Db_Expr($db->quoteInto('FROM_UNIXTIME(?)', time())),
	    'name'=>$name,
	    'password'=>'',
	    'passworddate'=>'0000-00-00 00:00:00'
    ));

I mean it's a lot overhead just to use FROM_UNIXTIME. And it's looks not very clean in my opptinion.
Zend Framework Table insert MySQL Expression
===

Just wanted to ask if there is an easyer way to do this (to use the FROM_UNIXTIME expression):

    $table = $this->getDbTable();
    $db = $table->getAdapter();

    $table->insert(array(
	    'date'=>new Zend_Db_Expr($db->quoteInto('FROM_UNIXTIME(?)', time())),
	    'name'=>$name,
	    'password'=>'',
	    'passworddate'=>'0000-00-00 00:00:00'
    ));

I mean it's a lot overhead just to use FROM_UNIXTIME. And it's looks not very clean in my opptinion.