public function field() { //text,date,temp(nosave) return array('cheque_num' => "string", 'bank' => "string", 'branch' => "string", 'cheque_acct' => "string", 'cheque_date' => ["type" => 'date', "value" => \app\models\Record::readDateFormat(time())]); }