Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
base
Application
getTimeZone
yii\base\Application::getTimeZone PHP Méthode
Application Class Documentation
Afficher le fichier
Open project: yiisoft/yii2
getTimeZone()
public
méthode
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
Résultat
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