0
可能重复:
Convert time and date from one time zone to another in PHP与时区生成一周的开始日期和结束日期偏移
我有两个变量,显示周开始和结束日期如下:
$week = strtotime('-' . date('w') . ' days');
$start = date('Y-m-d', $week);
$end = date('Y-m-d', strtotime('+6 days', $week));
如何抵消这些不同时区的日期(例如PST?)
查看http://stackoverflow.com/questions/3905193/convert-time-and-date-from-one-time-zone-to-another-in-php。 – luqmaan