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

Description

bool date_default_timezone_set ( string timezone_identifier )

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

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

Parameters

timezone_identifier

The timezone identifier, like UTC or Europe/Lisbon

Return Values

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

See Also

date_default_timezone_get()

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:17