protected function getFieldOutputDate($value)
    {
        $defaultValue = $this->getFieldValue($value);
        if ($defaultValue == 'NULL') {
            $defaultValue = date('Y-m-d');
        }
        $inA = [
            'type'      => 'text',
            'name'      => $value['COLUMN_NAME'],
            'id'        => $value['COLUMN_NAME'],
            'value'     => $defaultValue,
            'size'      => 10,
            'maxlength' => 10,
            'onfocus'   => implode('', [
                'javascript:NewCssCal(\'' . $value['COLUMN_NAME'],
                '\',\'yyyyMMdd\',\'dropdown\',false,\'24\',false);',
            ]),
        ];
        return $this->setStringIntoShortTag('input', $inA) . $this->setCalendarControl($value['COLUMN_NAME']);
    }
protected function getFieldOutputDate($value)
    {
        $defaultValue = $this->getFieldValue($value);
        if ($defaultValue == 'NULL') {
            $defaultValue = date('Y-m-d');
        }
        $inA = [
            'type'      => 'text',
            'name'      => $value['COLUMN_NAME'],
            'id'        => $value['COLUMN_NAME'],
            'value'     => $defaultValue,
            'size'      => 10,
            'maxlength' => 10,
            'onfocus'   => implode('', [
                'javascript:NewCssCal(\'' . $value['COLUMN_NAME'],
                '\',\'yyyyMMdd\',\'dropdown\',false,\'24\',false);',
            ]),
        ];
        return $this->setStringIntoShortTag('input', $inA) . $this->setCalendarControl($value['COLUMN_NAME']);
    }
protected function getFieldOutputDate ( $ value ) { $ defaultValue = $ this -> getFieldValue ( $ value ) ; if ( $ defaultValue == 'NULL' ) { $ defaultValue = date ( 'Y-m-d' ) ; } $ inA = [ 'type' => 'text' , 'name' => $ value [ 'COLUMN_NAME' ] , 'id' => $ value [ 'COLUMN_NAME' ] , 'value' => $ defaultValue , 'size' => 10 , 'maxlength' => 10 , 'onfocus' => implode ( '' , [ 'javascript:NewCssCal(\'' . $ value [ 'COLUMN_NAME' ] , '\',\'yyyyMMdd\',\'dropdown\',false,\'24\',false);' , ] ) , ] ; return $ this -> setStringIntoShortTag ( 'input' , $ inA ) . $ this -> setCalendarControl ( $ value [ 'COLUMN_NAME' ] ) ; }
Returns a Date field 2 use in a form

@param array $value
@return string
Returns a Date field 2 use in a form