You are here

constant DateTimeItemInterface::DATE_STORAGE_FORMAT in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATE_STORAGE_FORMAT
  2. 9 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';