protected function changeTimezone()
    {
        $this->previousTimezone=false;
        if ($this->timezone) {
            $this->previousTimezone=date_default_timezone_get();
            date_default_timezone_set($this->timezone);
        }
    }
protected function changeTimezone()
    {
        $this->previousTimezone=false;
        if ($this->timezone) {
            $this->previousTimezone=date_default_timezone_get();
            date_default_timezone_set($this->timezone);
        }
    }
protected function changeTimezone ( ) { $ this -> previousTimezone = false ; if ( $ this -> timezone ) { $ this -> previousTimezone = date_default_timezone_get ( ) ; date_default_timezone_set ( $ this -> timezone ) ; } }
Changes the timezone
Changes the timezone