function drupal_get_user_timezone

cis7 drupal_get_user_timezone()
cle7 drupal_get_user_timezone()
elmsmedia7 drupal_get_user_timezone()
icor7 drupal_get_user_timezone()
meedjum_blog7 drupal_get_user_timezone()
mooc7 drupal_get_user_timezone()

Returns the time zone of the current user.

4 calls to drupal_get_user_timezone()
admin_menu_js_cache in sites/all/modules/ulmus/admin_menu/admin_menu.module
Menu callback; Output administration menu for HTTP caching via AJAX request.
drupal_session_initialize in includes/
Initializes the session handler, starting a session if needed.
drupal_session_regenerate in includes/
Called when an anonymous user becomes authenticated or vice-versa.
_drupal_bootstrap_page_cache in includes/
Attempts to serve a page from the cache.


includes/, line 2271
Functions that need to be loaded on every Drupal request.


function drupal_get_user_timezone() {
  global $user;
  if (variable_get('configurable_timezones', 1) && $user->uid && $user->timezone) {
    return $user->timezone;
  else {
    // Ignore PHP strict notice if time zone has not yet been set in the php.ini
    // configuration.
    return variable_get('date_default_timezone', @date_default_timezone_get());



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.