date_default_timezone_set

(no version information, might be only in CVS)

date_default_timezone_set --  Sets the default timezone used by all date/time functions in a script

Descripción

bool date_default_timezone_set ( string timezone_identifier )

date_default_timezone_set() sets the default timezone used by all date/time functions.

Nota: Since PHP 5.1.0 (when the date/time functions were rewritten), every call to a date/time function will generate a E_NOTICE if the timezone isn't valid.

Lista de parámetros

timezone_identifier

The timezone identifier, like UTC or Europe/Lisbon

Valores retornados

This function always returns TRUE (even if the timezone_identifier isn't valid).

Ver también

date_default_timezone_get()

Hosting by: hurra.com
Generated: 2007-01-26 18:00:40