public function setDate($year, $month, $day) {
        
        $this->setYear((int) $year);
        $this->setMonth((int) $month);
        $this->setDay((int) $day);
        
        $this->updateGeorgianFromJalali();
        
        return $this;
    }
public function setDate($year, $month, $day) {
        
        $this->setYear((int) $year);
        $this->setMonth((int) $month);
        $this->setDay((int) $day);
        
        $this->updateGeorgianFromJalali();
        
        return $this;
    }
public function setDate ( $ year , $ month , $ day ) { $ this -> setYear ( ( int ) $ year ) ; $ this -> setMonth ( ( int ) $ month ) ; $ this -> setDay ( ( int ) $ day ) ; $ this -> updateGeorgianFromJalali ( ) ; return $ this ; }
Sets the current date of the DateTime object to a different date.

@param int $year
@param int $month
@param int $day

@return $this
Sets the current date of the DateTime object to a different date .