src/ZonedDateTime.php
public function withDate(LocalDate $date) : ZonedDateTime
    {
        return ZonedDateTime::of($this->localDateTime->withDate($date), $this->timeZone);
    }
public function withDate(LocalDate $date) : ZonedDateTime
    {
        return ZonedDateTime::of($this->localDateTime->withDate($date), $this->timeZone);
    }
public function withDate ( LocalDate $ date ) : ZonedDateTime { return ZonedDateTime :: of ( $ this -> localDateTime -> withDate ( $ date ) , $ this -> timeZone ) ; }
Returns a copy of this ZonedDateTime with a different date.

@param LocalDate $date

@return ZonedDateTime
Returns a copy of this ZonedDateTime with a different date .