function getOffsetById($id)
 {
     return ($tz = Timezone::lookup($id)) ? $tz->getOffset() : 0;
 }