DATETIME_STORAGE_TIMEZONE

Defines the timezone 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::STORAGE_TIMEZONE instead.

See also

https://www.drupal.org/node/2912980

File

core/modules/datetime/datetime.module, line 20

Code

const DATETIME_STORAGE_TIMEZONE = 'UTC';

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