public function setTimezone($timezone)
    {
        $smt = $this->getConnection()->prepare('SET time_zone = ?');
        $smt->bindValue(1, $timezone);
        $smt->execute();
    }
public function setTimezone($timezone)
    {
        $smt = $this->getConnection()->prepare('SET time_zone = ?');
        $smt->bindValue(1, $timezone);
        $smt->execute();
    }
public function setTimezone ( $ timezone ) { $ smt = $ this -> getConnection ( ) -> prepare ( 'SET time_zone = ?' ) ; $ smt -> bindValue ( 1 , $ timezone ) ; $ smt -> execute ( ) ; }
Sets a timezone.

@param string $timezone The timezone you wish to set.
Sets a timezone .