yii\base\Application::getTimeZone PHP 메소드

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();
    }