我知道
date( "Y-M-d H:i:s",strtotime( $timestamp_from_array ) + 13 * 3600 );
是臭,但它会给你一个想法.
strtotime将timestamp字符串转换为时间戳值,然后我们添加小时并将其转换为数组中带有date函数的时间戳格式.
但我想你真正想要的是使用time zones.
编辑:
igstan是正确的,你也应该介意这些偏移之间的夏令时间变化.