DateTimeItemInterface::DATETIME_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::DATETIME_STORAGE_FORMAT
  2. 10 core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATETIME_STORAGE_FORMAT
  3. 11.x core/modules/datetime/src/Plugin/Field/FieldType/DateTimeItemInterface.php \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATETIME_STORAGE_FORMAT

Defines the format that date and time should be stored in.

File

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

Class

DateTimeItemInterface
Interface definition for Datetime items.

Namespace

Drupal\datetime\Plugin\Field\FieldType

Code

const DATETIME_STORAGE_FORMAT = 'Y-m-d\\TH:i:s';

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