CakePHP MySQL UNIXタイムスタンプを設定 コメントを残す (Modelに) public $virtualFields = array( 'created_time'=>'UNIX_TIMESTAMP(news.created)' );