<?php
$d = [
(new DateTimeImmutable())->format('c'),
(new DateTimeImmutable())->modify('next day')->format('c'),
(new DateTimeImmutable())->modify('tomorrow')->format('c'),
(new DateTimeImmutable())->modify('next day')->modify('next day')->format('c'),
(new DateTimeImmutable())->modify('tomorrow')->modify('tomorrow')->format('c'),
];
var_dump(...$d);
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
string(25) "2017-07-11T15:55:28+02:00"
string(25) "2017-07-12T15:55:28+02:00"
string(25) "2017-07-12T00:00:00+02:00"
string(25) "2017-07-13T15:55:28+02:00"
string(25) "2017-07-13T00:00:00+02:00"