DateTimeImmutable::createFromFormat date_create_immutable_from_format 指定した書式でフォーマットした新しい DateTimeImmutable オブジェクトを返す &reftitle.description; &style.oop; public static DateTimeImmutableDateTimeImmutable::createFromFormat stringformat stringtime DateTimeZonetimezone &style.procedural; DateTimeImmutabledate_create_immutable_from_format stringformat stringtime DateTimeZonetimezone DateTime::createFromFormat と似ていますが、 DateTimeImmutable で動作します。