DateTimeImmutable::createFromFormat date_create_immutable_from_format Analyse une heure au format texte selon le format spécifié. &reftitle.description; &style.oop; public static DateTimeImmutablefalseDateTimeImmutable::createFromFormat stringformat stringdatetime DateTimeZonenulltimezone&null; &style.procedural; DateTimeImmutablefalsedate_create_immutable_from_format stringformat stringdatetime DateTimeZonenulltimezone&null; Identique à DateTime::createFromFormat mais fonctionne avec DateTimeImmutable.