DateTimeImmutable
PHP Manual

DateTimeImmutable::modify

(PHP 5 >= 5.5.0)

DateTimeImmutable::modifyAlters the timestamp

Descrizione

public DateTimeImmutable DateTimeImmutable::modify ( string $modify )

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


DateTimeImmutable
PHP Manual