php调整服务器时间代码

strftime函数实现这一功能

来自CODEGO.NET代码:

$today = date('Y-m-d-G'); $today = strftime("%Y-%m-%d-%H",strtotime("$today -5 hour"));