Description
hello,
I encountered an issue with the following code:
<?php
echo (new DateTimeImmutable('first day of this year 00:00:00'))->format('Y-m-d H:i:s');
Resulted in this output:
But I expected this output instead:
Thank you.
PHP Version
PHP 8.2.15
Operating System
Ubuntu 22.04.3