不挂科搜题免费

问题:

要想使用time()函数获取正确的国内时间,需要在php.ini中配置

答案:

date.timezone=Asia/Chongqing#date.timezone=PRC#date.timezone=Asia/Shanghai