DateTimeImmutable::modify
DateTimeImmutable::modify
(PHP 5 >= 5.5.0, PHP 7)
DateTimeImmutable::modify — Creates a new object with modified timestamp
Description
public DateTimeImmutable DateTimeImmutable::modify ( string $modify )
Creates a new DateTimeImmutable object with modified timestamp. The original object is not modified.
Parameters
-
object
-
P