Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
datetime.module
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
constant DATETIME_STORAGE_TIMEZONE
Defines the timezone that dates should be stored in.
4 uses of DATETIME_STORAGE_TIMEZONE
datetime_datelist_widget_validate
in drupal/
core/
modules/
datetime/
datetime.module
Validation callback for the datelist widget element.
datetime_datetime_widget_validate
in drupal/
core/
modules/
datetime/
datetime.module
Validation callback for the datetime widget element.
datetime_default_value
in drupal/
core/
modules/
datetime/
datetime.module
Sets a default value for an empty date field.
datetime_field_load
in drupal/
core/
modules/
datetime/
datetime.module
Implements
hook_field_load
().
File
drupal/
core/
modules/
datetime/
datetime.module
, line 17
Field hooks to implement a simple datetime field.
Code
const
DATETIME_STORAGE_TIMEZONE
=
'UTC'
;