You are here

function date_get_timezone_db in Date 7

Same name and namespace in other branches
  1. 8 date_api/date_api.module \date_get_timezone_db()
  2. 5.2 date_api.module \date_get_timezone_db()
  3. 6.2 date_api.module \date_get_timezone_db()
  4. 7.3 date_api/date_api.module \date_get_timezone_db()
  5. 7.2 date_api/date_api.module \date_get_timezone_db()

Function to figure out which db timezone applies to a date and select it

12 calls to date_get_timezone_db()
DateFieldTestCase::createDateField in tests/date_field.test
Create a date field from an array of settings values. All values have defaults, only need to specify values that need to be different.
date_combo_validate in ./date_elements.inc
Validate and update a combo element. Don't try this if there were errors before reaching this point.
date_devel_generate in ./date.devel_generate.inc
Implementation of Devel module's hook_content_generate().
date_field_get_sql_handler in ./date.module
Generate a DateAPI SQL handler for the given CCK date field.
date_field_load in ./date.field.inc
Implements hook_field_load().

... See full list

File

date_api/date_api.module, line 1794
This module will make the date API available to other modules. Designed to provide a light but flexible assortment of functions and constants, with more functionality in additional files that are not loaded unless other modules specifically include them.

Code

function date_get_timezone_db($handling, $timezone = '') {
  return 'UTC';
}