http://drakecms.sf.net/index.php?option=content&id=32&Itemid=10
A short tutorial which explains how to consistently implement timezones with PHP4 while remaining forward compatible with PHP5.
date_default_timezone_set说明bool date_default_timezone_set ( string timezone_identifier )date_default_timezone_set() 设定用于所有日期时间函数的默认时区。
legolas558 d0t users dot sf dot net
10-Jun-2007 01:34
http://drakecms.sf.net/index.php?option=content&id=32&Itemid=10
PeerGoal.com
12-Feb-2007 12:21
The problem:
davidn at datalinktech dot com dot au
22-Dec-2006 01:27
Note that there may be some unexpected side-effects that result from using either set_default_timezone() or the putenv("TZ=...") workalike for earlier PHP versions. ANY date formatted and output either by PHP or its apache host process will be unconditionally expressed in that timezone.
Chris
23-Nov-2006 06:14
See the user contributed notes for the putenv function for a workaround for previous versions of PHP.
| ||