Hopefully someone notices what is the cause for the problem I m having.
在其他所有时间区,例如“欧洲/赫尔辛基”的计算结果如下:正确的数值,但出于某种原因,我对Etc/GMT+2风格的时间区和反之亦然(例如,Etc/GMT-2I获得积极价值,7200)。
$dateTimeZone = new DateTimeZone( Etc/GMT+2 );
echo $dateTimeZone->getOffset(new DateTime("now", new DateTimezone( UTC )));
Expected: 7200 Result: -7200