base\Application getTimeZone()

getTimeZone() public method

Returns the time zone used by this application.

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 string getTimeZone ( )
return string

The time zone used by this application.

doc_Yii
2016-10-30 16:50:51
Comments
Leave a Comment

Please login to continue.