Date::$dateFormat

Same name in other branches
  1. 9 core/modules/datetime/src/Plugin/views/filter/Date.php \Drupal\datetime\Plugin\views\filter\Date::dateFormat
  2. 8.9.x core/modules/datetime/src/Plugin/views/filter/Date.php \Drupal\datetime\Plugin\views\filter\Date::dateFormat
  3. 11.x core/modules/datetime/src/Plugin/views/filter/Date.php \Drupal\datetime\Plugin\views\filter\Date::dateFormat

Date format for SQL conversion.

Type: string

See also

\Drupal\views\Plugin\views\query\Sql::getDateFormat()

File

core/modules/datetime/src/Plugin/views/filter/Date.php, line 43

Class

Date
Date/time views filter.

Namespace

Drupal\datetime\Plugin\views\filter

Code

protected $dateFormat = DateTimeItemInterface::DATETIME_STORAGE_FORMAT;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.