Chinaunix首页 | 论坛 | 博客
  • 博客访问: 286657
  • 博文数量: 28
  • 博客积分: 1575
  • 博客等级: 上尉
  • 技术积分: 355
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-22 18:42
个人简介

阿里:高级运维工程师;大众点评:资深运维工程师;目前在创业公司:运维经理

文章分类

全部博文(28)

文章存档

2014年(1)

2013年(5)

2012年(4)

2011年(3)

2010年(2)

2009年(13)

我的朋友

分类:

2009-10-21 21:48:03

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);
就可以了
阅读(1266) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~