Predefined formats for DateTime class

Code
<?php

$tz 
= new DateTimezone('Europe/Berlin');

$dt = new DateTime();
$dt->setTimezone($tz);

echo 
'<b>available datetime formats</b>' PHP_EOL;

echo 
$dt->format(DateTime::ATOM) . PHP_EOL;
echo 
$dt->format(DateTime::COOKIE) . PHP_EOL;
echo 
$dt->format(DateTime::RSS) . PHP_EOL;
echo 
$dt->format(DateTime::W3C) . PHP_EOL;

echo 
$dt->format(DateTime::ISO8601) . PHP_EOL;
echo 
$dt->format(DateTime::RFC822) . PHP_EOL;
echo 
$dt->format(DateTime::RFC850) . PHP_EOL;
echo 
$dt->format(DateTime::RFC1036) . PHP_EOL;
echo 
$dt->format(DateTime::RFC1123) . PHP_EOL;
echo 
$dt->format(DateTime::RFC2822) . PHP_EOL;
echo 
$dt->format(DateTime::RFC3339) . PHP_EOL PHP_EOL;

echo 
'<b>create DateTime from a string with predefined format</b>' PHP_EOL;

$dt DateTime::createFromFormat(
    
DateTime::RSS,
    
'Sat, 04 Oct 2014 14:38:40 +0200'
);

dump($dt);

Result
available datetime formats
2024-11-06T03:32:07+01:00
Wednesday, 06-Nov-2024 03:32:07 CET
Wed, 06 Nov 2024 03:32:07 +0100
2024-11-06T03:32:07+01:00
2024-11-06T03:32:07+0100
Wed, 06 Nov 24 03:32:07 +0100
Wednesday, 06-Nov-24 03:32:07 CET
Wed, 06 Nov 24 03:32:07 +0100
Wed, 06 Nov 2024 03:32:07 +0100
Wed, 06 Nov 2024 03:32:07 +0100
2024-11-06T03:32:07+01:00

create DateTime from a string with predefined format
^ DateTime @1412426320 {#1392
date: 2014-10-04 14:38:40.0 +02:00
}
Used Versions
PHP 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8