(PHP 5 >= 5.5.0, PHP 7)
DateTimeImmutable::modify — Creates a new object with modified timestamp
Creates a new DateTimeImmutable object with modified timestamp. The original object is not modified.
objectDoar stilul procedural: Un obiect DateTime întors de date_create(). Funcția modifică acest obiect.
modifyUn șir dată/oră. Formatele valide sunt explicate în Formatele datelor și orelor.
Returns the newly created object sau FALSE în cazul eșecului.