roundcubemail/program/lib/Roundcube/rcube_config.php
public function get_timezone()
    {
        if ($tz = $this->get('timezone')) {
            try {
                $tz = new DateTimeZone($tz);
                return $tz->getOffset(new DateTime('now')) / 3600;
            }
            catch (Exception $e) {
            }
        }

        return 0;
    }
public function get_timezone()
    {
        if ($tz = $this->get('timezone')) {
            try {
                $tz = new DateTimeZone($tz);
                return $tz->getOffset(new DateTime('now')) / 3600;
            }
            catch (Exception $e) {
            }
        }

        return 0;
    }
public function get_timezone ( ) { if ( $ tz = $ this -> get ( 'timezone' ) ) { try { $ tz = new DateTimeZone ( $ tz ) ; return $ tz -> getOffset ( new DateTime ( 'now' ) ) / 3600 ; } catch ( Exception $ e ) { } } return 0 ; }
Special getter for user's timezone offset including DST

@return float Timezone offset (in hours)
@deprecated
Special getter for user s timezone offset including DST