The DateTimeImmutable class
DateTimeImmutable
&reftitle.intro;
Representation of date and time.
This class behaves the same as DateTime
except new objects are returned when modification methods such as
DateTime::modify are called.
&reftitle.classsynopsis;
DateTimeImmutable
DateTimeImmutable
DateTimeInterface
&InheritedConstants;
&Methods;
&reference.datetime.entities.datetimeimmutable;