diff --git a/reference/datetime/datetimeimmutable/modify.xml b/reference/datetime/datetimeimmutable/modify.xml index f33df38532..48895b5cec 100644 --- a/reference/datetime/datetimeimmutable/modify.xml +++ b/reference/datetime/datetimeimmutable/modify.xml @@ -4,7 +4,7 @@ DateTimeImmutable::modify - Alters the timestamp + Creates a new object with modified timestamp @@ -14,8 +14,28 @@ stringmodify - Like DateTime::modify but works with - DateTimeImmutable. + Creates a new DateTimeImmutable object with modified timestamp. + The original object is not modified. + + + + + &reftitle.parameters; + + &date.datetime.description.modified; + + modify + + &date.formats.parameter; + + + + + + + &reftitle.returnvalues; + + Returns the newly created object&return.falseforfailure;.