php 下怎么返回服务器时区的 格林威治 秒数

2025-06-22 09:37:03
推荐回答(1个)
回答1:

在PHP端设置一下时区就可以了。
date_default_timezone_set();
函数参数根据时区不同而不同,具体请查看相关资料。