PHP 使用 strtotime() 解析带时区+偏移量的日期
PHP parse date with Timezone+Offset using strtotime()
PHP 的 strtotime("2015-05-11 00:03:24 UTC+1")
给了我 unix 时间戳 1431302604
。但是时间戳应该是1431299004.
我错了吗?或者如何使用 PHP 5.4.
正确解析此日期
尝试strtotime("2015-05-11 00:03:24+01:00")
PHP 的 strtotime("2015-05-11 00:03:24 UTC+1")
给了我 unix 时间戳 1431302604
。但是时间戳应该是1431299004.
我错了吗?或者如何使用 PHP 5.4.
正确解析此日期尝试strtotime("2015-05-11 00:03:24+01:00")