DateTimeImmutable::getLastErrors
DateTimeImmutable::__set_state
DateTimeImmutable
PHP Manual

# DateTimeImmutable::modify

(PHP 5 >= 5.5.0)

DateTimeImmutable::modify — Alters the timestamp

### Beschreibung

public DateTimeImmutable DateTimeImmutable::modify ( string `$modify` )

Like DateTime::modify() but works with DateTimeImmutable.

DateTimeImmutable::getLastErrors
DateTimeImmutable::__set_state
DateTimeImmutable
PHP Manual