protected function getOffsetFromLocation(string $zone): string
    {
        $zone = new DateTimeZone($zone);
        $gmt = new DateTimeZone(self::GMT);

        return $zone->getOffset(new \DateTime('now', $gmt));
    }
protected function getOffsetFromLocation(string $zone): string
    {
        $zone = new DateTimeZone($zone);
        $gmt = new DateTimeZone(self::GMT);

        return $zone->getOffset(new \DateTime('now', $gmt));
    }
protected function getOffsetFromLocation ( string $ zone ) : string { $ zone = new DateTimeZone ( $ zone ) ; $ gmt = new DateTimeZone ( self :: GMT ) ; return $ zone -> getOffset ( new \ DateTime ( 'now' , $ gmt ) ) ; }
returns the offset based on location

@param *string $zone The timezone to calculate the offset with

@return string
returns the offset based on location