src/Date/DateTimeZone.php
public function UTCTimeZoneOffset() : int
    {
        $originDateTime = new \DateTime('now', $this);

        $utcTimeZone = new \DateTimeZone('UTC');
        $utcDateTime = new \DateTime('now', $utcTimeZone);

        return $utcTimeZone->getOffset($utcDateTime) - $this->getOffset($originDateTime);
    }
public function UTCTimeZoneOffset() : int
    {
        $originDateTime = new \DateTime('now', $this);

        $utcTimeZone = new \DateTimeZone('UTC');
        $utcDateTime = new \DateTime('now', $utcTimeZone);

        return $utcTimeZone->getOffset($utcDateTime) - $this->getOffset($originDateTime);
    }
public function UTCTimeZoneOffset ( ) : int { $ originDateTime = new \ DateTime ( 'now' , $ this ) ; $ utcTimeZone = new \ DateTimeZone ( 'UTC' ) ; $ utcDateTime = new \ DateTime ( 'now' , $ utcTimeZone ) ; return $ utcTimeZone -> getOffset ( $ utcDateTime ) - $ this -> getOffset ( $ originDateTime ) ; }
Get offset between a time zone and UTC time zone in seconds.

@return integer
Get offset between a time zone and UTC time zone in seconds .