PHP Timezone Name to Offset
Another option would be to use the available DateTimeZone::getOffset()
method, which returns the offset in seconds for the time zone at the specified date/time.
$timezone = new DateTimeZone("Europe/Andorra");$offset = $timezone->getOffset(new DateTime);