使用php内置函数date()获取时间不正确的解决办法及步骤是:1、打开php.ini文件;2、查找date.timezone选项并去掉注释;3、添加时区;4、重启服务器。
技术文章 / 下载软件趣味内容 / 专业带飞