- Output for 7.4.0 - 7.4.33, 8.0.1 - 8.0.30, 8.1.0 - 8.1.33, 8.2.0 - 8.2.29, 8.3.0 - 8.3.25, 8.4.1 - 8.4.12
- Tue, 12 Apr 2022 09:00:00 +0200 Wed, 13 Apr 2022 09:00:00 +1000 Thu, 29 Nov 1973 21:33:09 +0000
<?php
echo (new \DateTime('9am'))->format('r') . "\n";
date_default_timezone_set('Australia/Sydney');
echo (new \DateTime('9am'))->format('r') . "\n";
echo (new \DateTime('@123456789'))->format('r') . "\n";