Warning: date() [
function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in
解决方法:直接在该php的函数$fact=getdate($timestamp);
之前加入:date_default_timezone_set('America/Los_Angeles');
即:
date_default_timezone_set('America/Los_Angeles');
$fact=getdate($timestamp);
就可以了
阅读(1311) | 评论(0) | 转发(0) |