format

format (type => datetime)
Path

$GLOBALS['TCA'][$table]['columns'][$field]['config']

Type

string (keyword)

Scope

Display

Sets the output format if the field is set to read-only. Read-only fields with format set to "date" will be formatted as "date", "datetime" as "datetime", "time" as "time" and "timesec" as "timesec".

Note

The format option defines how the field value will be displayed, for example, in FormEngine. The storage format is defined via dbType and falls back to eval=integer.