Re:Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings.

來自:Will
時間:Mon Oct 05 10:39:52 2009

bool date_default_timezone_set ( string $timezone_identifier )

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

Instead of using this function to set the default timezone in your script, you can also use the INI setting date.timezone to set the default timezone.

eg

date_default_timezone_set ('Asia/Hong_Kong')