DATETIME_DATE_STORAGE_FORMAT
Defines the format that dates should be stored in.
Deprecated
in drupal:8.5.0 and is removed from drupal:9.0.0. Use \Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface::DATE_STORAGE_FORMAT instead.
See also
https://www.drupal.org/node/2912980
File
-
core/
modules/ datetime/ datetime.module, line 42
Code
const DATETIME_DATE_STORAGE_FORMAT = 'Y-m-d';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.