public function setDate($year, $month, $day)
    {
        return $this->modify('+0 day')->setDateParent($year, $month, $day);
    }
public function setDate($year, $month, $day)
    {
        return $this->modify('+0 day')->setDateParent($year, $month, $day);
    }
public function setDate ( $ year , $ month , $ day ) { return $ this -> modify ( '+0 day' ) -> setDateParent ( $ year , $ month , $ day ) ; }
Set the date to a different date.

Workaround for a PHP bug related to the first day of a month

@param int $year The year to set.
@param int $month The month to set.
@param int $day The day to set.
@return static
@see https://bugs.php.net/bug.php?id=63863
Set the date to a different date .