基本上我有这个:
$data_start = '2012-06-07T13:00:00Z';
if (($timestamp = strtotime($data_start)) === false) {
return "The string ($data_start) is bogus";
} else {
return "$data_start == " . date('l dS \o\f F Y H:i:s', $timestamp);
}
它正在返回:
"Thursday 07th of June 2012 14:00:00"
为什么 strtotime 又增加了 1 个小时!?与时区有什么关系?