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

Beschreibung

bool date_default_timezone_set ( string timezone_identifier )

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

The order that PHP tries to find the default timezone is the following:

Anmerkung: 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.

Parameter Liste

timezone_identifier

The timezone identifier, like UTC or Europe/Lisbon

Rückgabewerte

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

Siehe auch

date_default_timezone_get()

Hosting by: Hurra Communications GmbH
Generated: 2007-01-26 17:56:58