PHP. Учебник. 2005

date_default_timezone_get

Пред.

След.

date_default_timezone_get

(no version information, might be only in CVS)date_default_timezone_get -- Gets the default timezone used by all date/time functions in a script

Описание

string date_default_timezone_get ( void )


- This functions returns the default timezone, using the following "guess" order:

- The timezone set using the date_default_timezone_set() function (if any)

  • - The TZ environment variable (if non empty)
  • - The date.timezone ini option (if set)
  • - "magical" guess (if the operating system supports it)
  • - If none of the above options succeeds, falback to UTC
  • Возвращаемые значения

    - Returns a string.

    Смотрите также

    -

    date_default_timezone_set()

    Пред.

    Начало

    След.

    checkdate

    Уровень выше

    date_default_timezone_set 22222

    Free Web Hosting