Man Page: datetimeimmutable.createfromformat
Operating Environment: php
Section: 3
DATETIMEIMMUTABLE.CREATEFROMFORMAT(3) 1 DATETIMEIMMUTABLE.CREATEFROMFORMAT(3) DateTimeImmutable::createFromFormat - Returns new DateTimeImmutable object formatted according to the specified format Object oriented styleSYNOPSISpublicstatic DateTimeImmutable DateTimeImmutable::createFromFormat (string $format, string $time, [DateTimeZone $timezone])DESCRIPTIONProcedural style DateTimeImmutable date_create_immutable_from_format (string $format, string $time, [DateTimeZone $timezone]) Like DateTime::createFromFormat but works with DateTimeImmutable. PHP Documentation Group DATETIMEIMMUTABLE.CREATEFROMFORMAT(3)