diff --git a/reference/datetime/functions/date-default-timezone-get.xml b/reference/datetime/functions/date-default-timezone-get.xml index 6ace09a3f2..ba24430b5c 100755 --- a/reference/datetime/functions/date-default-timezone-get.xml +++ b/reference/datetime/functions/date-default-timezone-get.xml @@ -1,5 +1,5 @@ - + date_default_timezone_get @@ -14,38 +14,33 @@ - This functions returns the default timezone, using the following "guess" - order: + In order of preference, this function returns the default timezone by: - The timezone set using the + Reading the timezone set using the date_default_timezone_set function (if any) - The TZ environment variable (if non empty) + Reading the TZ environment variable (if non empty) - The date.timezone ini option + Reading the value of the date.timezone ini option (if set) - "magical" guess (if the operating system supports it) + Querying the host operating system (if supported and allowed by the OS) - - - If none of the above options succeeds, return UTC - - - + If none of the above succeed, date_default_timezone_get + will return a default timezone of UTC.