What's the point of PHP's DateTimeZone::getOffset's (timezone_offset_get) datetime parameter?
<?php
$tz = new DateTimeZone("Asia/Tokyo");
var_dump($tz->getOffset(new DateTime())); // 32400
var_dump($tz->getOffset(new DateTime('now', new DateTimeZone('Asia/Taipei')))); // 32400
var_dump($tz->getOffset(new DateTime('now', new DateTimeZone('Europe/Budapest')))); // 32400
var_dump($tz->getOffset(new DateTime('2000-01-01', new DateTimeZone('America/New_York')))); // 32400
Am I missing something, or the parameter doesn't affect the output of the function at all?
The documentation mentions the function computes the offset from/for the parameter. What does this mean?