You are here

public function AccountInterface::getTimeZone in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/Session/AccountInterface.php \Drupal\Core\Session\AccountInterface::getTimeZone()

Returns the timezone of this account.

Return value

string Name of the timezone.

1 method overrides AccountInterface::getTimeZone()
Account::getTimeZone in src/Session/Account.php
Returns the timezone of this account.

File

lib/Drupal/Core/Session/AccountInterface.php, line 140
Contains \Drupal\Core\Session\AccountInterface.

Class

AccountInterface
Defines an account interface which represents the current user.

Namespace

Drupal\Core\Session

Code

public function getTimeZone();