Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

timezone_open

(PHP 5 >= 5.1.0RC1)

timezone_open -- Returns new DateTimeZone object

Описание

DateTimeZone timezone_open ( string timezone )

DateTimeZone DateTimeZone::__construct ( string timezone )

Список параметров

timezone

Time zone identifier as full name (e.g. Europe/Prague) or abbreviation (e.g. CET).

Возвращаемые значения

Returns DateTimeZone object on success or FALSE on failure.



add a note add a note User Contributed Notes
timezone_open
brandon at theholbrooks dot org
30-Oct-2007 12:24
To clarify kay's note below, when given an empty or invalid timezone string, this function does issue a warning, but it still returns boolean(FALSE) just like the documentation says.
kay
27-Oct-2007 11:14
In case of an empty identifier the function returns a warning, not the boolean 'false'.

"Warning: timezone_open() [function.timezone-open]: Unknown or bad timezone () "

timezone_transitions_get> <timezone_offset_get
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571