为什么伦敦实时不同于服务器时间设置为...伦敦UTC + 0?

时间:2014-12-12 14:28:55

标签: php apache timezone

关于时区,我有一个非常奇怪的问题......

这是我通过PHP做的事情

<?php

echo date_default_timezone_get (); 

//prints Europe/London (the timezone is set to London's one)

echo date('G:i A');

//prints 14:43 PM

?>

在Google和其他与时区相关的网站上搜索结果是:

14时18分

那么为什么PHP说 14:43 而谷歌和其他人说 14:18

25 分钟的差异!!

0 个答案:

没有答案