Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
base
Application
getTimeZone
yii\base\Application::getTimeZone PHP Method
Application Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
getTimeZone()
public
method
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.
See also:
http://php.net/manual/en/function.date-default-timezone-get.php
public
getTimeZone
( ) :
string
return
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