DateTimeImmutable::__construct
DateTimeImmutable::__construct - Returns new DateTimeImmutable object
Manual
date_create_immutable(
[string$datetime = "now"],
[DateTimeZone|null$timezone = null] ): DateTimeImmutable|false
Like DateTime::__construct but works with DateTimeImmutable.