Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
yii
base
Application
getTimeZone
yii\base\Application::getTimeZone PHP Метод
Документация по классу Application
Показать файл
Открыть проект
getTimeZone()
публичный
Метод
This is a simple wrapper of PHP function date_default_timezone_get(). If time zone is not configured in php.ini or application config, it will be set to UTC by default.
См. также:
http://php.net/manual/en/function.date-default-timezone-get.php
public
getTimeZone
( ) :
string
Результат
string
the time zone used by this application.
public function getTimeZone() { return date_default_timezone_get(); }
Application
__construct
bootstrap
coreComponents
end
getAssetManager
getAuthManager
getCache
getDb
getErrorHandler
getFormatter
getI18n
getLog
getMailer
getRequest
getResponse
getRuntimePath
getSecurity
getTimeZone
getUniqueId
getUrlManager
getVendorPath
getView
handleRequest
init
preInit
registerErrorHandler
run
setBasePath
setContainer
setRuntimePath
setTimeZone
setVendorPath