code/libraries/joomlatools/library/date/date.php
public function setDate($year, $month, $day)
    {
        if($this->_date->setDate($year, $month, $day) === false) {
            return false;
        }

        return $this;
    }
public function setDate($year, $month, $day)
    {
        if($this->_date->setDate($year, $month, $day) === false) {
            return false;
        }

        return $this;
    }
public function setDate ( $ year , $ month , $ day ) { if ( $ this -> _date -> setDate ( $ year , $ month , $ day ) === false ) { return false ; } return $ this ; }
Resets the current time of the DateTime object to a different time.

@param integer $year     Year of the date.
@param integer $month    Month of the date.
@param integer $day      Day of the date.
@return KDate or FALSE on failure.
Resets the current time of the DateTime object to a different time .