DateTimeItemInterface::DATE_STORAGE_FORMAT

Same name and namespace in other branches
  1. 8.9.x core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATE_STORAGE_FORMAT
  2. 10 core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATE_STORAGE_FORMAT
  3. 11.x core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATE_STORAGE_FORMAT

Defines the format that dates should be stored in.

File

core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php, line 23

Class

DateTimeItemInterface
Interface definition for Datetime items.

Namespace

Drupal\datetime\Plugin\Field\FieldType

Code

const DATE_STORAGE_FORMAT = 'Y-m-d';

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